absl::operator|

Computes the union 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 either a or b.

Parameters

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