absl::operator|

Bitwise disjunction operators

Synopses

Declared in <absl/numeric/int128.h>

Type safe OR operator for FormatConversionCharSet to allow accepting multiple conversion chars in custom format converters.

constexpr
FormatConversionCharSet
operator|(
    FormatConversionCharSet a,
    FormatConversionCharSet b);
» more...

Computes the bitwise OR of two StatusToStringMode values.

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

Computes the bitwise OR of two chars_format values.

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

Returns the bitwise OR of lhs and rhs.

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

Returns the bitwise OR of lhs and rhs.

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

Computes the union of two character sets.

constexpr
CharSet
operator|(
    CharSet const& a,
    CharSet const& b);
» more...

Return Value

  • The set union of a and b.
  • The bitwise OR of lhs and rhs.
  • The bitwise OR lhs | rhs.
  • A set with the characters present in either a or b.

Parameters

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