mrdocs::unqualifiedTypeName

The unqualified name of a type T, at compile time.

Synopsis

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

Description

As qualifiedTypeName, with the namespace qualifiers removed so only the innermost name remains.

Return Value

A view over static storage holding the unqualified name, e.g. unqualifiedTypeName<mrdocs::FunctionSymbol>() ‐> "FunctionSymbol", unqualifiedTypeName<int>() ‐> "int".

Template Parameters

Name

Description

T

The type whose name to render.

Created with MrDocs