std::regex_traits
From Cppreference
| C++ Standard Library | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Regular expressions library | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Defined in header <string>
|
||
| template<
class CharT |
||
The regex_traits parameterizes behaviour of a regex.
| This section is incomplete |
[edit] Member types
| Type | Definition |
| char_type | CharT |
| string_type | A std::basic_string parameterized on CharT. |
| locale_type | The locale used for localized behaviour in the regular expression. |
| char_class_type | Represents a character classification and is capable of holding an implementation specific set returned by lookup_classname. |
[edit] Member functions
| constructs the regex_traits object (public member function) |
|
| gets the localized length of a string (public member function) |
|
| returns its input (public member function) |
|
| converts a character to lower case (if defined) (public member function) |
|
| converts a string into a localized collation sequence (public member function) |
|
| converts a string into a localized primary collation sequence (public member function) |
|
| gets a collation element by name (public member function) |
|
| gets a character class by name (public member function) |
|
| indicates membership in a localized character class (public member function) |
|
| translates a numeric digit into an integral value (public member function) |
|
| sets the locale (public member function) |
|
| gets the locale (public member function) |
|
Specializations for char and wchar_t are defined.