mrdocs::toString

Return the written ref‐qualifier syntax (&, &&, or empty).

Synopsis

constexpr
std::string_view
toString(ReferenceKind kind) noexcept;

Description

Customized rather than using the generic described‐enum name, so the refQualifier field carries the source spelling.

Return Value

The ref‐qualifier spelling; empty for ReferenceKind::None.

Parameters

Name

Description

kind

The reference kind.

Created with MrDocs