]> git.ipfire.org Git - thirdparty/gcc.git/commit
locale_facets.tcc (money_get<>::_M_extract): Reorganize a bit the main parsing loop...
authorPaolo Carlini <pcarlini@suse.de>
Tue, 2 Mar 2004 22:25:51 +0000 (22:25 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Tue, 2 Mar 2004 22:25:51 +0000 (22:25 +0000)
commit59564c5e9a60e8d19a594020f329c3f71bcc0262
tree7d4104b6e6bdf96d853500c11f97a1ebbcfe1806
parentd87e83b9b6fa31bc2e3b9406ee890c39343dcb8a
locale_facets.tcc (money_get<>::_M_extract): Reorganize a bit the main parsing loop...

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

* include/bits/locale_facets.tcc (money_get<>::_M_extract):
Reorganize a bit the main parsing loop, thus early detecting
an empty value component.
* testsuite/22_locale/money_get/get/char/16.cc: New.
* testsuite/22_locale/money_get/get/wchar_t/16.cc: New.

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