![]() |
Home | Libraries | People | FAQ | More |
Return a new character set by subtracting.
Defined in header <boost/url/grammar/lut_chars.hpp>
constexpr lut_chars operator-( lut_chars const& cs0, lut_chars const& cs1);
This function returns a new character set which is formed from all of the
characters in cs0
which
are not in cs
.
This statement declares a character set containing all the lowercase letters which are not vowels:
constexpr [link url.ref.boost__urls__grammar__lut_chars.lut_chars `lut_chars`] consonants = [link url.ref.boost__urls__grammar__lut_chars.lut_chars `lut_chars`]( "abcdefghijklmnopqrstuvwxyz" ) - "aeiou" ;
Constant.
The new character set.
Name |
Description |
---|---|
|
A character set to join. |
|
A character set to join. |
Convenience header <boost/url/grammar.hpp>