Declare operator<< for boost::any in boost namespace

This commit is contained in:
Alexey Rybalchenko 2019-06-13 14:42:03 +02:00 committed by Dennis Klein
parent 7c13503e22
commit 7486249c1e

View File

@ -12,9 +12,14 @@
#include <sstream> #include <sstream>
inline std::ostream& operator<<(std::ostream& os, const fair::mq::Property& p) namespace boost
{
inline std::ostream& operator<<(std::ostream& os, const boost::any& p)
{ {
return os << fair::mq::PropertyHelper::GetPropertyInfo(p).first; return os << fair::mq::PropertyHelper::GetPropertyInfo(p).first;
} }
}
#endif /* FAIR_MQ_PROPERTYOUT_H */ #endif /* FAIR_MQ_PROPERTYOUT_H */