Subject: Re: [Boost-bugs] [Boost C++ Libraries] #11549: ostream& operator<< overload no longer picked up by boost log
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-08-19 13:25:08
#11549: ostream& operator<< overload no longer picked up by boost log
-------------------------------+------------------------
Reporter: dd0t@⦠| Owner: andysem
Type: Bugs | Status: new
Milestone: To Be Determined | Component: log
Version: Boost 1.59.0 | Severity: Regression
Resolution: | Keywords:
-------------------------------+------------------------
Comment (by Alexander Filonov <kingsbfs@â¦>):
This also breaks all logging whenever '''boost::format''' is used for
record formatting. On MVC12 compiler I get the following error:
{{{
error C2679: binary '<<' : no operator found which takes a right-hand
operand of type
'boost::basic_format<char,std::char_traits<char>,std::allocator<char>>'
(or there is no acceptable conversion)
}}}
as a temporary solution I redefined my log macro to add an extra empty
string:
{{{
#define LOG(lg,sev) BOOST_LOG_SEV(lg, sev) << ""
}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/11549#comment:1> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:18 UTC