
operator overloading - cppreference.com
An operator function must have at least one function parameter or implicit object parameter whose type is a class, a reference to a class, an enumeration, or a reference to an enumeration. The operators :: …
Member access operators - cppreference.com
Explanation Built-in subscript operator provides access to an object pointed-to by the pointer or array operand. Built-in indirection operator provides access to an object or function pointed-to by the …
Increment/decrement operators - cppreference.com
The value computation of a postfix increment or decrement is sequenced before the modification of expression. With respect to an indeterminately-sequenced function call, the operation of a postfix …
operator==,!=,<,<=,>,>=,<=> (std::vector) - cppreference.com
3-6) Compares the contents of lhs and rhs lexicographically. The comparison is performed by a function equivalent to std::lexicographical_compare.
C++ keyword: operator - cppreference.com
Usage name of an overloaded operator function name of a user-defined conversion function name of an allocation function name of a deallocation function
Arithmetic operators - cppreference.com
Built-in bitwise logic operators For the built-in bitwise NOT operator, rhs must be a prvalue of integral or unscoped enumeration type, and integral promotion is performed on rhs. For other built-in bitwise …
Comparison operators - cppreference.com
Two-way comparison The two-way comparison operator expressions have the form Relational operators ... Equality operators ... 1) Returns true if lhs is less than rhs, false otherwise. 2) Returns true if lhs is …
C++ Operator Precedence - cppreference.com
The following table lists the precedence and associativity of C++ operators. Operators are listed top to bottom, in descending precedence. a, b and c are operands.
reflection operator (since C++26) - cppreference.com
reflection operator (since C++26) The unary ^^ operator, called the reflection operator, yields the reflection of the given language construct, of type std::meta::info.
Logical operators - cppreference.com
This operator is short-circuiting: if the first operand is true, the second operand is not evaluated. Note that bitwise logic operators do not perform short-circuiting.