|
Boost-Commit : |
From: emil_at_[hidden]
Date: 2008-04-13 13:07:26
Author: emildotchevski
Date: 2008-04-13 13:07:26 EDT (Sun, 13 Apr 2008)
New Revision: 44372
URL: http://svn.boost.org/trac/boost/changeset/44372
Log:
minor compile error fix
Text files modified:
trunk/boost/exception/detail/is_output_streamable.hpp | 4 +++-
1 files changed, 3 insertions(+), 1 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-13 13:07:26 EDT (Sun, 13 Apr 2008)
@@ -35,7 +35,9 @@
struct
is_output_streamable_impl
{
- enum e { value=is_output_streamable_dispatch<1!=sizeof((*(std::basic_ostream<CharT,Traits>*)0)<<(*(T*)0))>::value };
+ static std::basic_ostream<CharT,Traits> & f();
+ static T const & g();
+ enum e { value=is_output_streamable_dispatch<1!=sizeof(f()<<g())>::value };
};
}
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