Core utilities
Core utility library by Ross Smith
#include "rs-core/typename.hpp"
namespace RS;
This header provides human readable type names on compilers that don’t supply
those by default (Clang and GCC). It’s in a separate header because it needs
to import the <cxxabi.h>
header.
template <typename T> std::string type_name();
Returns the name of the type T
.
template <typename T> std::string type_name(T&& t);
Returns the name of the dynamic type of the argument.