19 #include <type_traits>
61 static_cast<std::underlying_type_t<string_character_types>
>(lhs) |
62 static_cast<std::underlying_type_t<string_character_types>
>(rhs));
76 static_cast<std::underlying_type_t<string_character_types>
>(lhs) |
77 static_cast<std::underlying_type_t<string_character_types>
>(rhs));
constexpr string_character_types & operator|=(string_character_types &lhs, string_character_types rhs)
Compound assignment OR operator for combining string_character_types.
constexpr string_character_types operator|(string_character_types lhs, string_character_types rhs)
OR operator for combining string_character_types.
string_character_types
Character type values. These types can be or'd to check for any combination of types.
@ CASE_TYPES
all case-able characters
@ ALPHANUM
all alphanumeric characters
@ UPPER
all upper case characters
@ DIGIT
all digit characters
@ ALL_TYPES
all character types
@ DECIMAL
all decimal characters
@ SPACE
all space characters
@ NUMERIC
all numeric characters
@ LOWER
all lower case characters
@ ALPHA
all alphabetic characters