mirror of
https://github.com/boostorg/mpl.git
synced 2025-08-03 14:54:30 +02:00
GCC 3.2 typeinfo fix
[SVN r16017]
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user