id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 11549,ostream& operator<< overload no longer picked up by boost log,dd0t@…,Andrey Semashev,"Boost log does no longer seem to reliably pick up custom stream operators in boost 1.59.0 (tested with vc14 and vc12). In the example given below the custom operator works fine for cout but isn't found when trying to use it normally for logging. The operator is however found if something else is piped in first. Compiling the same example with 1.58.0 (only tested with vc12) works as expected. {{{ #include #include #include struct Mine {}; std::ostream& operator << (std::ostream& t, const Mine& m) { t << ""Works""; return t; }; int main() { Mine m; std::cout << m << std::endl; // Works BOOST_LOG_TRIVIAL(warning) << m; // error C2678: binary '<<': no operator found which takes a left-hand operand of type 'boost::log::v2s_mt_nt5::basic_record_ostream' (or there is no acceptable conversion) BOOST_LOG_TRIVIAL(warning) << """" << m; // Works return 0; }; }}} ",Bugs,closed,To Be Determined,log,Boost 1.59.0,Regression,fixed,,kingsbfs@…