GEGELATI

Loading...
Searching...
No Matches
demangle.h
1
36#ifndef DEMANGLE_H
37#define DEMANGLE_H
38
39#include <string>
40
41#ifdef _MSC_VER
43#define DEMANGLE_TYPEID_NAME(name) name
44#elif __GNUC__
45#include <cxxabi.h>
46namespace Data {
54 std::string demangle(const char* name);
55} // namespace Data
57#define DEMANGLE_TYPEID_NAME(name) Data::demangle(name).c_str()
58#else
59#error Unsupported compiler (yet): Check need for name demangling of typeid.name().
60#endif
61
62#endif // DEMANGLE_H
Data
Definition array2DWrapper.h:44