1 #ifndef BOOST_CORE_DEMANGLE_HPP_INCLUDED 2 #define BOOST_CORE_DEMANGLE_HPP_INCLUDED 16 #if defined(BOOST_HAS_PRAGMA_ONCE) 20 #if defined( __clang__ ) && defined( __has_include ) 21 # if __has_include(<cxxabi.h>) 22 # define BOOST_CORE_HAS_CXXABI_H 24 #elif defined( __GLIBCXX__ ) || defined( __GLIBCPP__ ) 25 # define BOOST_CORE_HAS_CXXABI_H 28 #if defined( BOOST_CORE_HAS_CXXABI_H ) 59 char const *
get()
const BOOST_NOEXCEPT
69 #if defined( BOOST_CORE_HAS_CXXABI_H ) 71 inline char const *
demangle_alloc(
char const * name ) BOOST_NOEXCEPT
75 return abi::__cxa_demangle( name,
NULL, &size, &status );
80 std::free( const_cast< char* >( name ) );
86 char const *
const p = demangled_name.
get();
119 #undef BOOST_CORE_HAS_CXXABI_H 121 #endif // #ifndef BOOST_CORE_DEMANGLE_HPP_INCLUDED std::string demangle(char const *name)
~scoped_demangled_name() BOOST_NOEXCEPT
void demangle_free(char const *name) BOOST_NOEXCEPT
GLuint const GLchar * name
#define BOOST_DELETED_FUNCTION(fun)
BOOST_MOVE_USE_STANDARD_LIBRARY_MOVE.
GLsizei const GLchar *const * string
status
Defines return codes that SDK interfaces use. Negative values indicate errors, a zero value indicates...
std::string demangled_name(core::typeinfo const &ti)
char const * get() const BOOST_NOEXCEPT
char const * demangle_alloc(char const *name) BOOST_NOEXCEPT
scoped_demangled_name(char const *name) BOOST_NOEXCEPT