Skip to content

Commit

Permalink
More monadic operators (#151)
Browse files Browse the repository at this point in the history
Add missing description of some expression monadic operators.
  • Loading branch information
GabrielDosReis committed Oct 8, 2024
1 parent a7bac34 commit 8c6f3c3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ltx/exprs.tex
Original file line number Diff line number Diff line change
Expand Up @@ -1880,6 +1880,9 @@ \subsection{Monadic operators}
\enumerator{Materialize}
\enumerator{PseudoDtorCall}
\enumerator{LookupGlobally}
\enumerator{Artificial}
\enumerator{MetaDescriptor}
\enumerator{Suffix}

\setcounter{enumi}{1023}
\enumerator{Msvc}
Expand Down Expand Up @@ -1999,6 +2002,10 @@ \subsection{Monadic operators}
\ifcSortSection{Materialize}{MonadicOperator} C++ abstract machine class temporary materialization operator.
\ifcSortSection{PseudoDtorCall}{MonadicOperator} Pseudo-destructor call operator.
\ifcSortSection{LookupGlobally}{MonadicOperator} Any operator in the immediate operand expression, at source-level, is to be looked-up in the global scope. For example, in \code{::new T(a, b)}, the corresponding storage allocation function \code{operator new} is to be looked up in the global scope.
\ifcSortSection{Artificial}{MonadicOperator} A notional operator indicating that the operand is implicitly generated and does not appear lexically in the input source code.
\ifcSortSection{MetaDescriptor}{MonadicOperator} A notional operator indicating that the operand (a \sortref{NamedDecl}{ExprSort})
designates the RTTI object (the runtime type descriptor) for a type \type{T}. The type of the runtime type descriptor object is \type{T}.
\ifcSortSection{Suffix}{MonadicOperator} Indicator of a literal operator applied (as suffix) to a string literal (\sortref{String}{ExprSort}).

\ifcSortSection{Msvc}{MonadicOperator} This is a marker, not an actual operator. Monadic operators with
value greater that this are MSVC extensions.
Expand Down

0 comments on commit 8c6f3c3

Please sign in to comment.