mrdocs::OperatorKind

Operator kinds

Synopsis

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

enum class OperatorKind : int;

Members

Name

Description

None

No operator

New

The new Operator

Delete

The delete Operator

ArrayNew

The new[] Operator

ArrayDelete

The delete[] Operator

Plus

The + Operator

Minus

The ‐ Operator

Star

The * Operator

Slash

The / Operator

Percent

The % Operator

Caret

The ˆ Operator

Amp

The & Operator

Pipe

The | Operator

Tilde

The ~ Operator

Equal

The ! Operator

PlusEqual

The += Operator

MinusEqual

The ‐= Operator

StarEqual

The *= Operator

SlashEqual

The /= Operator

PercentEqual

The %= Operator

CaretEqual

The ˆ= Operator

AmpEqual

The &= Operator

PipeEqual

The |= Operator

LessLess

The << Operator

GreaterGreater

The >> Operator

LessLessEqual

The <<= Operator

GreaterGreaterEqual

The >>= Operator

Exclaim

The ! Operator

EqualEqual

The == Operator

ExclaimEqual

The != Operator

Less

The < Operator

LessEqual

The <= Operator

Greater

The > Operator

GreaterEqual

The >= Operator

Spaceship

The <=> Operator

AmpAmp

The && Operator

PipePipe

The || Operator

PlusPlus

The ++ Operator

MinusMinus

The ‐‐ Operator

Comma

The , Operator

ArrowStar

The ‐>* Operator

Arrow

The ‐> Operator

Call

The () Operator

Subscript

The []Operator

Conditional

The ? : Operator

Coawait

The coawait Operator

Non-Member Functions

Name

Description

getOperatorKind

Return the short name of an operator as a string.

getOperatorKindFromSuffix

Return the short name of an operator as a string.

getOperatorName

Return the name of an operator as a string.

getOperatorReadableName

Return the human‐readable name of the operator

getSafeOperatorName

Return the safe name of an operator as a string.

getShortOperatorName

Return the short name of an operator as a string.

isBinaryOperator

Determines whether the operator is potentially binary.

isUnaryOperator

Determines whether the operator is potentially unary.

Created with MrDocs