template <class charT> class regex_traits;
| member type | requirement for regex traits classes | definition in regex_traits |
|---|---|---|
| char_type | the character type (the same as the one used in the basic_regex object) | the first template parameter (charT) |
| string_type | basic_string<char_type> (see string) | basic_string<charT> |
| locale_type | a copy-constructible locale type | the standard locale type |
| char_class_type | a bitmask type suitable as return type of member lookup_classname | a bitmask type |