
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 …
Comparison operators - cppreference.com
Two-way comparison The two-way comparison operator expressions have the form Relational operators ... Equality operators ... 1) …
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 …
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 …
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, …
operator==,!=,<,<=,>,>=,<=> (std::vector) - cppreference.com
3-6) Compares the contents of lhs and rhs lexicographically. The comparison is performed by a function equivalent to …
Other operators - cppreference.com
Other operators ... The function call operator provides function semantics for any object. The conditional operator (colloquially …
Comparison operators - cppreference.com
Comparison operators are binary operators that test a condition and return 1 if that condition is logically true and 0 if that condition is …
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 …
operator==,!=,<,<=,>,>=,<=> (std::basic_string) - cppreference.com
Compares the contents of a string with another string or a null-terminated array of CharT. All comparisons are done via the compare …