id summary reporter owner description type status milestone component version severity resolution keywords cc 2015 boost::format::operator% does not work with anonymous types inside a namespace Geoff Barrett Samuel Krempp "Using g++ version 3.3.3. Actual sources are from 1.33.1 but these don't seem to be different from what is currently in the repository. I get the following error message. If I remove the template specification from the calls in the body of several functions, the errors go away. In the attached file, the function foo2 suffers the same problem as operator% but foo1 does not. With g++ 4.2.1, this change does not work either. .../boost/format/format_class.hpp: In member function `boost::basic_format& boost::basic_format::operator%(const T&) [with T = bcu::, Ch = char, Tr = std::char_traits, Alloc = std::allocator]': format_bug.cc:52: instantiated from here .../boost/format/format_class.hpp:64: error: template-argument `const bcu::&' uses anonymous type .../boost/format/format_class.hpp:64: error: no matching function for call to `feed(boost::basic_format, std::allocator >&, const bcu::&)' " Bugs closed To Be Determined format Boost 1.34.0 Problem fixed