GCC 3.2 typeinfo fix

[SVN r16017]
This commit is contained in:
Aleksey Gurtovoy
2002-10-30 01:41:56 +00:00
parent fcf4314835
commit d452787dd1

View File

@@ -34,7 +34,11 @@ struct printer
printer(std::ostream& s) : f_stream(&s) {}
template< typename U > void operator()(mpl::identity<U>)
{
#if defined(__GNUC__) && (__GNUC__ >= 3 && !defined(BOOST_STRICT_CONFIG))
*f_stream << reinterpret_cast<wchar_t const*>(typeid(U).name()) << '\n';
#else
*f_stream << typeid(U).name() << '\n';
#endif
}
private: