1 //Copyright (c) 2006-2009 Emil Dotchevski and Reverge Studios, Inc.
3 //Distributed under the Boost Software License, Version 1.0. (See accompanying
4 //file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6 #ifndef UUID_898984B4076411DD973EDFA055D89593
7 #define UUID_898984B4076411DD973EDFA055D89593
17 template <class T,class CharT,class Traits>
18 char operator<<( std::basic_ostream<CharT,Traits> &, T const & );
20 template <class T,class CharT,class Traits>
22 is_output_streamable_impl
24 static std::basic_ostream<CharT,Traits> & f();
26 enum e { value=1!=(sizeof(f()<<g())) };
30 template <class T, class CharT=char, class Traits=std::char_traits<CharT> >
34 enum e { value=to_string_detail::is_output_streamable_impl<T,CharT,Traits>::value };