About 52 results
Open links in new tab
  1. 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 …

  2. Comparison operators - cppreference.com

    Two-way comparison The two-way comparison operator expressions have the form Relational operators ... Equality operators ... 1) …

  3. 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 …

  4. 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 …

  5. 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, …

  6. operator==,!=,<,<=,>,>=,<=> (std::vector) - cppreference.com

    3-6) Compares the contents of lhs and rhs lexicographically. The comparison is performed by a function equivalent to …

  7. Other operators - cppreference.com

    Other operators ... The function call operator provides function semantics for any object. The conditional operator (colloquially …

  8. 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 …

  9. 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 …

  10. 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 …