Utilities for working with C++ types. More...
#include <cstddef>
#include <string>
#include <type_traits>
#include "type_utils/literal_sz.h"
#include "type_utils/string_traits.hpp"
Go to the source code of this file.
Namespaces | |
cras | |
Functions | |
::std::string | cras::cleanTypeName (const ::std::string &typeName) |
Remove not-so-nice parts of demangled C++ type names. More... | |
::std::string | cras::demangle (const ::std::string &mangled) |
Demangle the given mangle C++ type identifier. More... | |
template<typename T > | |
inline ::std::string | cras::getTypeName () |
Get a human-readable name of T. More... | |
::std::string | cras::getTypeName (const ::std::type_info &typeInfo) |
Get a human-readable name of a type represented by the given typeinfo. More... | |
Utilities for working with C++ types.
Definition in file type_utils.hpp.