absl::operator&

Bitwise conjunction operators

Synopses

Declared in <absl/numeric/int128.h>

Computes the bitwise AND of two StatusToStringMode values.

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

Computes the bitwise AND of two chars_format values.

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

Returns the bitwise AND of lhs and rhs.

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

Returns the bitwise AND of lhs and rhs.

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

Computes the intersection of two character sets.

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

Return Value

  • The bitwise AND of lhs and rhs.
  • The bitwise AND lhs & rhs.
  • A set with the characters present in both a and b.

Parameters

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