This patch uses the same not completely correct case insensitive comparisons as used elsewhere in the same header. Proper comparisons that would handle even multi-byte characters would be harder, but I don't see them implemented in __ctype's methods. 2021-12-15 Jakub Jelinek <jakub@redhat.com> PR libstdc++/71557 * include/bits/locale_facets_nonio.tcc (_M_extract_via_format): Compare characters other than format specifiers and whitespace case insensitively. (_M_extract_name): Compare characters case insensitively. * testsuite/22_locale/time_get/get/char/71557.cc: New test. * testsuite/22_locale/time_get/get/wchar_t/71557.cc: New test. |
||
---|---|---|
.. | ||
classification | ||
codecvt | ||
codecvt_byname | ||
collate | ||
collate_byname | ||
conversions | ||
ctype | ||
ctype_base | ||
ctype_byname | ||
facet | ||
global_templates | ||
headers | ||
locale | ||
messages | ||
messages_byname | ||
money_get | ||
money_put | ||
moneypunct | ||
moneypunct_byname | ||
num_get | ||
num_put | ||
numpunct | ||
numpunct_byname | ||
time_get | ||
time_put |