std::regex_traits<CharT>::regex_traits (3) - Linux Manuals
std::regex_traits<CharT>::regex_traits: std::regex_traits<CharT>::regex_traits
Command to display std::regex_traits<CharT>::regex_traits
manual in Linux: $ man 3 std::regex_traits<CharT>::regex_traits
NAME
std::regex_traits<CharT>::regex_traits - std::regex_traits<CharT>::regex_traits
Synopsis
regex_traits();
Default-constructs the std::regex_traits object, including default-constructing the private std::locale member or any other internal state as necessary.
Parameters
(none)
Return value
(none)
Example
// Run this code
#include <iostream>
#include <regex>
int main()
{
std::locale::global(std::locale("en_US.utf8"));
std::regex_traits<char> r1;
std::regex_traits<wchar_t> r2;
std::cout << "The regex locale is " << r1.getloc().name() << '\n';
}
Output:
The regex locale is en_US.utf8
Pages related to std::regex_traits<CharT>::regex_traits
- std::regex_traits<CharT>::getloc (3) - std::regex_traits<CharT>::getloc
- std::regex_traits<CharT>::imbue (3) - std::regex_traits<CharT>::imbue
- std::regex_traits<CharT>::isctype (3) - std::regex_traits<CharT>::isctype
- std::regex_traits<CharT>::length (3) - std::regex_traits<CharT>::length
- std::regex_traits<CharT>::lookup_classname (3) - std::regex_traits<CharT>::lookup_classname
- std::regex_traits<CharT>::lookup_collatename (3) - std::regex_traits<CharT>::lookup_collatename
- std::regex_traits<CharT>::transform (3) - std::regex_traits<CharT>::transform
- std::regex_traits<CharT>::transform_primary (3) - std::regex_traits<CharT>::transform_primary
- std::regex_traits<CharT>::translate (3) - std::regex_traits<CharT>::translate
- std::regex_traits<CharT>::translate_nocase (3) - std::regex_traits<CharT>::translate_nocase
- std::regex_traits<CharT>::value (3) - std::regex_traits<CharT>::value
- std::regex_traits (3) - std::regex_traits
- std::regex_token_iterator (3) - std::regex_token_iterator
- std::regex_token_iterator<BidirIt,CharT,Traits>::operator*,operator-> (3) - std::regex_token_iterator<BidirIt,CharT,Traits>::operator*,operator->
- std::regex_token_iterator<BidirIt,CharT,Traits>::operator++,operator++(int) (3) - std::regex_token_iterator<BidirIt,CharT,Traits>::operator++,operator++(int)
- std::regex_token_iterator<BidirIt,CharT,Traits>::operator= (3) - std::regex_token_iterator<BidirIt,CharT,Traits>::operator=