1
0
forked from boostorg/core

Add workaround for msvc-10.0

This commit is contained in:
Peter Dimov
2021-09-30 03:21:31 +03:00
parent 8265fe6405
commit f884833b42

View File

@ -110,6 +110,17 @@ template<class T> std::string typeid_name()
r = "std::" + r.substr( 14 );
}
#if defined(BOOST_MSVC) && BOOST_MSVC == 1600
// msvc-10.0 puts TR1 things in std::tr1
if( r.substr( 0, 10 ) == "std::tr1::" )
{
r = "std::" + r.substr( 10 );
}
#endif
return r;
}