mrdocs::readableTypeName

Get the unqualified name of a type.

Synopsis

Declared in <mrdocs/Support/Reflection.hpp>

template<typename T>
constexpr
std::string_view
readableTypeName();

Description

Extracts the name from PRETTY_FUNCTION (Clang/GCC) or FUNCSIG (MSVC).

E.g.: readableTypeName<mrdocs::FunctionSymbol>() ‐> "FunctionSymbol".

Return Value

the unqualified name of a type.

Created with MrDocs