#include <cxxabi.h>
#include <iostream>
#include <cstdlib>
int main() {
int status;
const std::string name = "_ZN10CTLTestApp12ExecuteGroupEPK19CTLTestCaseRegisterNS_11EReportTypeE";
char *realname = abi::__cxa_demangle(name.c_str(), 0, 0, &status);
std::cout << realname << "(" << status << ")" << std::endl;
free(realname);
}
Running gives:
CTLTestApp::ExecuteGroup(CTLTestCaseRegister const*, CTLTestApp::EReportType)(0)
See the online documentation for more details and more on this.
Flexo source
share