|
Boost-Commit : |
From: emil_at_[hidden]
Date: 2008-04-14 02:27:40
Author: emildotchevski
Date: 2008-04-14 02:27:40 EDT (Mon, 14 Apr 2008)
New Revision: 44404
URL: http://svn.boost.org/trac/boost/changeset/44404
Log:
minor fix
Text files modified:
trunk/boost/exception/detail/is_output_streamable.hpp | 16 +---------------
1 files changed, 1 insertions(+), 15 deletions(-)
Modified: trunk/boost/exception/detail/is_output_streamable.hpp
==============================================================================
--- trunk/boost/exception/detail/is_output_streamable.hpp (original)
+++ trunk/boost/exception/detail/is_output_streamable.hpp 2008-04-14 02:27:40 EDT (Mon, 14 Apr 2008)
@@ -14,20 +14,6 @@
namespace
to_string_detail
{
- template <bool>
- struct
- is_output_streamable_dispatch
- {
- enum e { value=1 };
- };
-
- template <>
- struct
- is_output_streamable_dispatch<false>
- {
- enum e { value=0 };
- };
-
template <class T,class CharT,class Traits>
char operator<<( std::basic_ostream<CharT,Traits> &, T const & );
@@ -37,7 +23,7 @@
{
static std::basic_ostream<CharT,Traits> & f();
static T const & g();
- enum e { value=is_output_streamable_dispatch<1!=sizeof(f()<<g())>::value };
+ enum e { value=1!=(sizeof(f()<<g())) };
};
}
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk