A set of characters
class lut_chars ;
Declared in file <boost/url/grammar/lut_chars.hpp> at line 64
Name | Description |
---|---|
lut_chars | Constructor |
lut_chars | Constructor |
lut_chars | |
operator() | Return true if ch is in the character set. |
operator~ | Return a new character set which is the complement of another character set. |
find_if | |
find_if_not |
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";
system::result< core::string_view > rv = parse( "Aiea", token_rule( vowel_chars ) );