mrdocs::getSafeOperatorName

Return the safe name of an operator as a string.

Synopsis

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

std::string_view
getSafeOperatorName(
    OperatorKind kind,
    bool include_keyword = false) noexcept;

Return Value

the safe name of an operator as a string.

Parameters

NameDescription
kindThe kind of operator.
include_keywordWhether the name should be prefixed with operator_.