toString overloads
Declared in <mrdocs/Metadata/Name/NameBase.hpp>
Convert an auto-kind to its spelling.
constexpr
std::string_view
toString(AutoKind kind) noexcept;
» more...
Convert a FundamentalTypeKind to a string.
std::string_view
toString(FundamentalTypeKind kind) noexcept;
» more...
Return the operator's written spelling ("+", "[]", "new", ...).
std::string_view
toString(OperatorKind kind) noexcept;
» more...
Convert a cv qualifier kind to its string form.
constexpr
std::string_view
toString(QualifierKind kind) noexcept;
» more...
Return the written ref-qualifier syntax (&, &&, or empty).
constexpr
std::string_view
toString(ReferenceKind kind) noexcept;
» more...
Convert a TypeKind to its string representation.
std::string_view
toString(TypeKind kind) noexcept;
» more...
Convert the name to a human-readable string.
std::string
toString(Name const& N);
» more...
Convert a template argument to a human-readable string.
std::string
toString(TArg const& arg) noexcept;
» more...
Convert a described enumerator to its kebab-case string form.
template<class E>
requires describe::has_describe_enumerators<E>::value
constexpr
std::string_view
toString(E e) noexcept;
» more...
Render a type to a human-readable string.
std::string
toString(
Type const& T,
std::string_view Name = "");
» more...
Convert ExplicitInfo to a string.
std::string
toString(
ExplicitInfo const& info,
bool resolved = false,
bool implicit = false);
» more...
Convert NoexceptInfo to a string.
std::string
toString(
NoexceptInfo const& info,
bool resolved = false,
bool implicit = false);
» more...
| Name | Description |
|---|---|
| kind | The auto kind. |
| e | The enumerator to convert. |
| T | Type to render. |
| Name | Optional identifier to append. |
| info | The explicit-specifier information. |
| resolved | If true, the operand is not shown when the explicit-specifier is non-dependent. |
| implicit | If true, implicit explicit-specifiers are shown. |