GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
std::regex_traits::translate_nocase(3) C++ Standard Libary std::regex_traits::translate_nocase(3)

std::regex_traits::translate_nocase - std::regex_traits::translate_nocase


CharT translate_nocase(CharT c) const;


Obtains the comparison key for the character c, such that all characters that are
equivalent to this character in the imbued locale, ignoring the case differences, if
any, produce the same key.


When the regex library needs to match two characters c1 and c2 and the flag
std::regex_constants::icase is true, it executes
regex_traits<>::translate_nocase(c1) == regex_traits<>::translate_nocase(c2).


Standard library specializations of std::regex_traits return
std::use_facet<std::ctype<CharT>>(getloc()).tolower(c), that is, convert c to
lowercase, using the currently imbued locale.


c - character that needs to be examined for equivalence, ignoring case


The case-insensitive comparison key for c in the currently imbued locale.


This section is incomplete
Reason: no example

2022.07.31 http://cppreference.com

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.