Skip to content

FalcoGer/demangle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demangle

The demangle library allows you to get the name of a type in c++ as a string. Support for clang, gcc and msvc. Other compilers return the mangled name from typeid as a fallback.

See main.cpp for an example.

Possible output (depending on compiler and standard library):

Commontype<int16, int32> = int
int& = int&
int* = int*
int* const = int* const
const int& = int const&
const int* const = int const* const
std::string = std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >

When compiling with msvc, requires to link against Dbghelp.lib. /link Dbghelp.lib or use your IDE.

Releases

No releases published

Packages

No packages published