id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 6119,output streams not working with units,Noel Belcourt,Matthias Schabel,"Compiling the temperature.cpp example problems fails with this error message S896822:example kbelco$ icpc -g -I ../../.. temperature.cpp ../../../boost/units/io.hpp(967): error: more than one instance of overloaded function ""boost::units::detail::do_print_prefixed"" matches the argument list: function template ""void boost::units::detail::do_print_prefixed(std::basic_ostream<_CharT, _Traits> &, const boost::units::quantity>, void>, T> &)"" function template ""void boost::units::detail::do_print_prefixed(std::basic_ostream<_CharT, _Traits> &, const boost::units::quantity, T> &)"" function template ""void boost::units::detail::do_print_prefixed(std::basic_ostream<_CharT, _Traits> &, const boost::units::quantity &)"" argument types are: (std::basic_ostream>, const boost::units::quantity) detail::do_print_prefixed(os, q); ^ detected during: instantiation of ""void boost::units::detail::maybe_print_prefixed(std::basic_ostream<_CharT, _Traits> &, const boost::units::quantity &, boost::mpl::true_) [with Prefixes=boost::units::detail::engineering_prefixes, CharT=char, Traits=std::char_traits, Unit=boost::units::fahrenheit::temperature, T=double]"" at line 1050 instantiation of ""std::basic_ostream<_CharT, _Traits> &boost::units::operator<<(std::basic_ostream<_CharT, _Traits> &, const boost::units::quantity &) [with Char=char, Traits=std::char_traits, Unit=boost::units::fahrenheit::temperature, T=double]"" at line 92 of ""temperature.cpp"" The same message occurs with a small reproducer. #include #include #include #include int main(int, char **) { using namespace boost::units; quantity t; cout << t << endl; return 0; } ",Bugs,closed,To Be Determined,units,Boost Development Trunk,Problem,wontfix,,