From 9bac76a06de9086009825ccfe281b316c333ce20 Mon Sep 17 00:00:00 2001 From: Emil Dotchevski Date: Mon, 14 Apr 2008 06:27:40 +0000 Subject: [PATCH] minor fix [SVN r44404] --- .../exception/detail/is_output_streamable.hpp | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) 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()<