]> git.ipfire.org Git - thirdparty/gcc.git/commit - libstdc++-v3/testsuite/22_locale/money_get/get/wchar_t/15.cc
locale_facets.tcc (num_get<>::_M_extract_float): Also when parsing exponent sign...
authorPaolo Carlini <pcarlini@suse.de>
Mon, 1 Mar 2004 10:31:33 +0000 (10:31 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Mon, 1 Mar 2004 10:31:33 +0000 (10:31 +0000)
commit08ff96c3461e6098b4c1102818e4ee10f61b1809
treebe1c34e4ec7b452a2200f992d00c044f4f2967a1
parent9a5a17f3dfc1461cf3e6ebb794dfb6e017a75f02
locale_facets.tcc (num_get<>::_M_extract_float): Also when parsing exponent sign, first look for thousands_sep and decimal_point...

2004-03-01  Paolo Carlini  <pcarlini@suse.de>

* include/bits/locale_facets.tcc (num_get<>::_M_extract_float):
Also when parsing exponent sign, first look for thousands_sep
and decimal_point; tweak a bit.
* testsuite/22_locale/num_get/get/char/15.cc: New.
* testsuite/22_locale/num_get/get/wchar_t/15.cc: New.

* include/bits/locale_facets.tcc (num_get<>::_M_extract_float,
num_get<>::_M_extract_int): Reorder some conditionals.

2004-03-01  Paolo Carlini  <pcarlini@suse.de>

* include/bits/locale_facets.tcc (money_get<>::_M_extract):
Consistently with numpunct, enforce the requirements in
22.2.6.3, p3 for the thousands separators; tweak a bit.
* testsuite/22_locale/money_get/get/char/15.cc: New.
* testsuite/22_locale/money_get/get/wchar_t/15.cc: New.

From-SVN: r78699
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/locale_facets.tcc
libstdc++-v3/testsuite/22_locale/money_get/get/char/15.cc [new file with mode: 0644]
libstdc++-v3/testsuite/22_locale/money_get/get/wchar_t/15.cc [new file with mode: 0644]
libstdc++-v3/testsuite/22_locale/num_get/get/char/15.cc [new file with mode: 0644]
libstdc++-v3/testsuite/22_locale/num_get/get/wchar_t/15.cc [new file with mode: 0644]