class template
std::regex_traits
- Header
<regex>- Draft
- [re.traits]
- Scope
std- cppreference
- std::regex_traits
Synopsis
template<class charT>
struct regex_traits;Member types
| Name | Declaration |
|---|---|
char_class_typetype alias · member type | = unsigned int |
char_typetype alias · member type | = charT |
locale_typetype alias · member type | = locale |
string_typetype alias · member type | = basic_string<char_type> |
Member functions
| Name | Declaration |
|---|---|
regex_traitsconstructor | regex_traits() |
getlocmember function | locale_type getloc() const |
imbuemember function | locale_type imbue(locale_type l) |
isctypemember function | bool isctype(charT c, char_class_type f) const |
lookup_classnamemember function template | char_class_type lookup_classname(ForwardIterator first, ForwardIterator last, bool icase) const |
lookup_collatenamemember function template | string_type lookup_collatename(ForwardIterator first, ForwardIterator last) const |
transformmember function template | string_type transform(ForwardIterator first, ForwardIterator last) const |
transform_primarymember function template | string_type transform_primary(ForwardIterator first, ForwardIterator last) const |
translatemember function | charT translate(charT c) const |
translate_nocasemember function | charT translate_nocase(charT c) const |
valuemember function | int value(charT ch, int radix) const |
Static member functions
| Name | Declaration |
|---|---|
lengthstatic member function | size_t length(const char_type* p) |