Template talk:cpp/language/operators

Bug in Geshi / Mediawiki
This diff fixes a HTML tag mismatch probably caused by a bug in Geshi, Mediawiki or the glue plugin. P12 13:00, 27 November 2011 (PST)

Spaceship operator for C++20.
The line containing <=> should be noted to be a C++20 feature. Korval (talk) 21:41, 23 November 2017 (PST)

Missing operators
There seem to be a few operators missing:



co_await Await expression

co_yield Yield expression

throw Throw exception or mark function as potentially throwing.

{} Replacement of for assignment, casting and others

While I am not sure if all of them can be considered operators, all five are listed on operator precedence. Note that I didn't add the scope resolution operator myself because while it would fit best in the 'other' category, it doesn't link to the same page. It might also be a good idea to include the conversion operator. 159.100.126.214 05:20, 15 May 2020 (PDT)


 * is not an operator per se; it is a part of the syntax for constructing a qualified-id as a primary-expression. So its presence in Template:cpp/language/operators would be questionable. (But I do consider it worth mentioning in the precedence table.) — Radix (talk) 12:08, 15 May 2020 (PDT)