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

Name

Description

kind

The kind of operator.

include_keyword

Whether the name should be prefixed with operator_.

Created with MrDocs