mrdocs::getOperatorName

Return the name of an operator as a string.

Synopsis

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

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

Return Value

the name of an operator as a string.

Parameters

Name

Description

kind

The kind of operator.

include_keyword

Whether the name should be prefixed with the operator keyword.

Created with MrDocs