mrdocs::toString

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

Synopsis

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

Name

Description

kind

The operator kind.

Created with MrDocs