guanaqo 1.0.0-alpha.24
Utilities for scientific software
Loading...
Searching...
No Matches
demangled-typename.hpp
Go to the documentation of this file.
1#pragma once
2
3/// @file
4/// @ingroup core
5/// Pretty-print type names.
6
7#include <guanaqo/export.h>
8
9#include <string>
10#include <typeinfo>
11
12namespace guanaqo {
13
14/// Get the pretty name of the given type as a string.
15/// @ingroup core
16GUANAQO_EXPORT std::string demangled_typename(const std::type_info &t);
17
18} // namespace guanaqo
std::string demangled_typename(const std::type_info &t)
Get the pretty name of the given type as a string.