mirror of
https://github.com/boostorg/mpl.git
synced 2025-08-05 15:54:39 +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) {}
|
printer(std::ostream& s) : f_stream(&s) {}
|
||||||
template< typename U > void operator()(mpl::identity<U>)
|
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';
|
*f_stream << typeid(U).name() << '\n';
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
Reference in New Issue
Block a user