Index: print_helper.hpp =================================================================== --- print_helper.hpp (revision 86696) +++ print_helper.hpp (working copy) @@ -182,13 +182,22 @@ // ************** BOOST_TEST_DONT_PRINT_LOG_VALUE ************** // // ************************************************************************** // -#define BOOST_TEST_DONT_PRINT_LOG_VALUE( the_type ) \ -namespace boost{ namespace test_tools{ namespace tt_detail{ \ -template<> \ -struct print_log_value { \ - void operator()( std::ostream&, the_type const& ) {} \ -}; \ -}}} \ +#define BOOST_TEST_DONT_PRINT_LOG_VALUE( the_type ) \ +namespace boost { \ + \ +template \ +inline basic_wrap_stringstream& \ +operator<<( basic_wrap_stringstream& targ, the_type const& ) \ +{ \ + return targ; \ +} \ + \ +namespace test_tools { namespace tt_detail{ \ +template<> \ +struct print_log_value { \ + void operator()( std::ostream&, the_type const& ) {} \ +}; \ +}}} \ /**/ } // namespace test_tools