39 #ifndef OPM_CLASS_NAME_HPP
40 #define OPM_CLASS_NAME_HPP
55 std::string
className =
typeid( T ).name();
58 char *demangled = abi::__cxa_demangle( className.c_str(), 0, 0, &status );
61 className = demangled;
62 std::free( demangled );
64 #endif // HAVE_CXA_DEMANGLE
72 std::string className<__float128>()
80 return className<T>();
84 #endif // OPM_CLASS_NAME_HPP
Definition: Air_Mesitylene.hpp:31
std::string className()
Provide the demangled class name of a given object as a string.
Definition: ClassName.hpp:53