mrdocs::toString

Return the operator's written spelling ("+", "[]", "new", ...).

Synopsis

Declared in <mrdocs/Metadata/Specifiers/OperatorKind.hpp>

std::string_view
toString(OperatorKind kind) noexcept;

Description

Customized (routes to getOperatorName) rather than using the generic described-enum name, so the overloadedOperator field carries the source symbol.

Return Value

The operator spelling, empty for OperatorKind::None.

Parameters

NameDescription
kindThe operator kind.