diff --git a/include/boost/exception/detail/is_output_streamable.hpp b/include/boost/exception/detail/is_output_streamable.hpp index 99cf366..57376bf 100644 --- a/include/boost/exception/detail/is_output_streamable.hpp +++ b/include/boost/exception/detail/is_output_streamable.hpp @@ -14,20 +14,6 @@ boost namespace to_string_detail { - template - struct - is_output_streamable_dispatch - { - enum e { value=1 }; - }; - - template <> - struct - is_output_streamable_dispatch - { - enum e { value=0 }; - }; - template char operator<<( std::basic_ostream &, T const & ); @@ -37,7 +23,7 @@ boost { static std::basic_ostream & f(); static T const & g(); - enum e { value=is_output_streamable_dispatch<1!=sizeof(f()<::value }; + enum e { value=1!=(sizeof(f()<