absl::operator&

Computes the intersection of two character sets.

Synopsis

Declared in <absl/strings/charset.h>

constexpr
CharSet
operator&(
    CharSet const& a,
    CharSet const& b);

Return Value

A set with the characters present in both a and b.

Parameters

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