re PR libstdc++/21238 (conflicting "typedef __numpunct_cache<_CharT> __cache_type;" in std::numpunct<CharT> makes specialization impossible) 2005-04-29 Paolo Carlini <pcarlini@suse.de> PR libstdc++/21238 * include/bits/locale_facets.tcc (num_get::_M_extract_float, num_get::_M_extract_int, num_get::do_get(bool&), num_put::_M_insert_int, num_put::_M_insert_float, num_put::do_put(bool), money_get::_M_extract, money_put::_M_insert): Adjust the __cache_type typedef not to forward to a numpunct/moneypunct typedef. * testsuite/testsuite_character.h: Add pod_uint and its numpunct and moneypunct specializations. * testsuite/testsuite_character.cc: Add numpunct<pod_uint>::id and moneypunct<pod_uint>::id. * testsuite/22_locale/num_get/3.cc: New. * testsuite/22_locale/num_put/3.cc: Likewise. * testsuite/22_locale/money_get/3.cc: Likewise. * testsuite/22_locale/money_put/3.cc: Likewise. * include/bits/locale_facets.tcc (money_put::_M_insert, time_get::_M_extract_name): Prefer operator== to operator!= on char_types. From-SVN: r99012
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
codecvt | Loading commit data... | |
codecvt_byname | Loading commit data... | |
collate | Loading commit data... | |
collate_byname | Loading commit data... | |
ctype | Loading commit data... | |
ctype_base | Loading commit data... | |
ctype_byname | Loading commit data... | |
facet | Loading commit data... | |
global_templates | Loading commit data... | |
locale | Loading commit data... | |
messages | Loading commit data... | |
messages_byname | Loading commit data... | |
money_get | Loading commit data... | |
money_put | Loading commit data... | |
moneypunct | Loading commit data... | |
moneypunct_byname | Loading commit data... | |
num_get | Loading commit data... | |
num_put | Loading commit data... | |
numpunct | Loading commit data... | |
numpunct_byname | Loading commit data... | |
time_get | Loading commit data... | |
time_put | Loading commit data... |