.TH "std::regex_traits< _Ch_type >" 3cxx "Sun Feb 7 2021" "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME std::regex_traits< _Ch_type > \- Describes aspects of a regular expression\&. .SH SYNOPSIS .br .PP .SS "Public Types" .in +1c .ti -1c .RI "typedef _RegexMask \fBchar_class_type\fP" .br .ti -1c .RI "typedef _Ch_type \fBchar_type\fP" .br .ti -1c .RI "typedef \fBstd::locale\fP \fBlocale_type\fP" .br .ti -1c .RI "typedef \fBstd::basic_string\fP< char_type > \fBstring_type\fP" .br .in -1c .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBregex_traits\fP ()" .br .RI "Constructs a default traits object\&. " .ti -1c .RI "\fBlocale_type\fP \fBgetloc\fP () const" .br .RI "Gets a copy of the current locale in use by the regex_traits object\&. " .ti -1c .RI "\fBlocale_type\fP \fBimbue\fP (\fBlocale_type\fP __loc)" .br .RI "Imbues the regex_traits object with a copy of a new locale\&. " .ti -1c .RI "bool \fBisctype\fP (_Ch_type __c, char_class_type __f) const" .br .RI "Determines if \fCc\fP is a member of an identified class\&. " .ti -1c .RI "template char_class_type \fBlookup_classname\fP (_Fwd_iter __first, _Fwd_iter __last, bool __icase=false) const" .br .RI "Maps one or more characters to a named character classification\&. " .ti -1c .RI "template \fBstring_type\fP \fBlookup_collatename\fP (_Fwd_iter __first, _Fwd_iter __last) const" .br .RI "Gets a collation element by name\&. " .ti -1c .RI "template \fBstring_type\fP \fBtransform\fP (_Fwd_iter __first, _Fwd_iter __last) const" .br .RI "Gets a sort key for a character sequence\&. " .ti -1c .RI "template \fBstring_type\fP \fBtransform_primary\fP (_Fwd_iter __first, _Fwd_iter __last) const" .br .RI "Gets a sort key for a character sequence, independent of case\&. " .ti -1c .RI "char_type \fBtranslate\fP (char_type __c) const" .br .RI "Performs the identity translation\&. " .ti -1c .RI "char_type \fBtranslate_nocase\fP (char_type __c) const" .br .RI "Translates a character into a case-insensitive equivalent\&. " .ti -1c .RI "int \fBvalue\fP (_Ch_type __ch, int __radix) const" .br .RI "Converts a digit to an int\&. " .in -1c .SS "Static Public Member Functions" .in +1c .ti -1c .RI "static std::size_t \fBlength\fP (const char_type *__p)" .br .RI "Gives the length of a C-style string starting at \fC__p\fP\&. " .in -1c .SS "Protected Attributes" .in +1c .ti -1c .RI "\fBlocale_type\fP \fB_M_locale\fP" .br .in -1c .SH "Detailed Description" .PP .SS "template .br class std::regex_traits< _Ch_type >" Describes aspects of a regular expression\&. A regular expression traits class that satisfies the requirements of section [28\&.7]\&. .PP The class regex is parameterized around a set of related types and functions used to complete the definition of its semantics\&. This class satisfies the requirements of such a traits class\&. .PP Definition at line 80 of file regex\&.h\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.