Home | Libraries | People | FAQ | More |
A set of characters.
Defined in header <boost/url/grammar/lut_chars.hpp>
class lut_chars
Name |
Description |
---|---|
lut_chars [constructor] |
Constructor. |
Return true if ch is in the character set. |
|
Return a new character set which is the complement of another character set. |
Name |
Description |
---|---|
Return the union of two character sets. |
|
Return a new character set by subtracting. |
The characters defined by instances of this set are provided upon construction.
The constexpr
implementation
allows these to become compile-time constants.
Character sets are used with rules and the functions find_if
and find_if_not
.
constexpr lut_chars vowel_chars = "AEIOU" "aeiou"; result< string_view > rv = parse( "Aiea", token_rule( vowel_chars ) );
find_if
,
find_if_not
,
parse
,
token_rule
.
Convenience header <boost/url/grammar.hpp>