mirror of
https://github.com/boostorg/mpl.git
synced 2025-08-03 14:54:30 +02:00
reverted bogus GCC 3.2 changes
[SVN r16028]
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
|
||||
#include <vector>
|
||||
#include <iostream>
|
||||
#include <algorithm>
|
||||
#include <typeinfo>
|
||||
#include <cassert>
|
||||
|
||||
@@ -34,11 +35,7 @@ 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