mirror of
https://github.com/boostorg/core.git
synced 2025-07-29 20:37:22 +02:00
Strip libstdc++ and libc++ inline namespaces
This commit is contained in:
@ -57,6 +57,20 @@ template<class T> std::string typeid_name()
|
||||
|
||||
#endif
|
||||
|
||||
// libc++ inline namespace
|
||||
|
||||
if( r.substr( 0, 10 ) == "std::__1::" )
|
||||
{
|
||||
r = "std::" + r.substr( 10 );
|
||||
}
|
||||
|
||||
// libstdc++ inline namespace
|
||||
|
||||
if( r.substr( 0, 14 ) == "std::__cxx11::" )
|
||||
{
|
||||
r = "std::" + r.substr( 14 );
|
||||
}
|
||||
|
||||
return r;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user