Return the short name of an operator as a string.

Synopsis

Declared in <mrdocs/Metadata/Info/Function.hpp>

OperatorKind
getOperatorKind(std::string_view name) noexcept;

Return Value

The OperatorKind, or OperatorKind::None if not recognized.

Parameters

Name

Description

name

The operator name, e.g. operator+, operator++, operator[], etc.

Created with MrDocs