diff options
author | Paolo Carlini <pcarlini@suse.de> | 2005-04-29 18:50:00 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2005-04-29 18:50:00 +0000 |
commit | a70c902e06cb7fd86e5f7f7524cd7e4200cba0db (patch) | |
tree | 46a68024b46ac9b5e42fe36270112667cbeeb1dc /gcc/java/expr.c | |
parent | b61ae8b2611643a3f7005680573e4f13dcf9ef23 (diff) | |
download | gcc-a70c902e06cb7fd86e5f7f7524cd7e4200cba0db.zip gcc-a70c902e06cb7fd86e5f7f7524cd7e4200cba0db.tar.gz gcc-a70c902e06cb7fd86e5f7f7524cd7e4200cba0db.tar.bz2 |
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
Diffstat (limited to 'gcc/java/expr.c')
0 files changed, 0 insertions, 0 deletions