TRIQS/TRIQS 4.0.0
Researching Interacting Quantum Systems
Loading...
Searching...
No Matches
typeid_name.hpp
#include <string>
#include <typeinfo>

Detailed Description

Helper functions built around std::type_info.

Definition in file typeid_name.hpp.

Go to the source code of this file.

Functions

std::string triqs::utility::demangle (const char *name)
 Demangle a mangled C++ symbol name to a human-readable string.
std::string triqs::utility::demangle (std::string const &name)
 Overload of demangle accepting an std::string.
std::string triqs::utility::get_name (std::type_info const &info)
 Demangle the name corresponding to an std::type_info.
template<typename T>
std::string triqs::utility::typeid_name ()
 Human-readable name of a given static type.
template<typename T>
std::string triqs::utility::typeid_name (T const &obj)
 Human-readable name of the dynamic type of a given object.