absl::operator^

Bitwise exclusive-or operators

Synopses

Declared in <absl/numeric/int128.h>

Computes the bitwise XOR of two StatusToStringMode values.

constexpr
StatusToStringMode
operator^(
    StatusToStringMode lhs,
    StatusToStringMode rhs);
» more...

Computes the bitwise XOR of two chars_format values.

constexpr
chars_format
operator^(
    chars_format lhs,
    chars_format rhs);
» more...

Returns the bitwise XOR of lhs and rhs.

constexpr
int128
operator^(
    int128 lhs,
    int128 rhs);
» more...

Returns the bitwise XOR of lhs and rhs.

constexpr
uint128
operator^(
    uint128 lhs,
    uint128 rhs);
» more...

Return Value

  • The bitwise XOR of lhs and rhs.
  • The bitwise XOR lhs ^ rhs.

Parameters

NameDescription
lhsThe left-hand operand.
rhsThe right-hand operand.