[#7959759509D8F8470BBB3DED31B97D5FC0389D01]

Friend operator-

Return a new character set by subtracting

Synopsis

            friend
constexpr
lut_chars
operator-(
    lut_chars const& cs0,
    lut_chars const& cs1) noexcept;
        

Description

This function returns a new character set which is formed from all of the characters in `cs0` which are not in `cs`.

Example

This statement declares a character set containing all the lowercase letters which are not vowels:

constexpr lut_chars consonants = lut_chars("abcdefghijklmnopqrstuvwxyz") - "aeiou";

Complexity

Constant.