Computes the intersection of two character sets.

Synopsis

Declared in <absl/strings/charset.h>

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

This function is a hidden friend of CharSet, declared only inside that class: it can be found only through argument-dependent lookup.

Return Value

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

Parameters

Name

Description

a

The left‐hand operand.

b

The right‐hand operand.

Created with MrDocs