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 <vector>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
#include <algorithm>
|
||||||
#include <typeinfo>
|
#include <typeinfo>
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
|
|
||||||
@@ -34,11 +35,7 @@ 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