6 std::string
CXADemangle(
const char* typeid_name,
int firstChar)
9 char* ctmp = abi::__cxa_demangle(typeid_name,0,0,&status);
10 std::string tmp = ctmp;
12 size_t pos = tmp.find_first_of(
" ");
13 if(pos == std::string::npos) {
14 pos = tmp.find_first_of(
"*");
17 return tmp.substr(firstChar,pos);
Q_BEGIN_NAMESPACE std::string CXADemangle(const char *typeid_name, int firstChar)
#define Q_BEGIN_NAMESPACE