2004-03-08 Paolo Carlini <pcarlini@suse.de>
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 8 Mar 2004 10:51:30 +0000 (10:51 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 8 Mar 2004 10:51:30 +0000 (10:51 +0000)
commitfa305a1496266bdbe09696f18dabd520e67eeba4
tree191b993bd45f2d350674a5b95c66bef1b4efed0b
parent252d0e4d216823a118d88ee8cab5072beacb589e
2004-03-08  Paolo Carlini  <pcarlini@suse.de>

* include/bits/locale_facets.tcc (money_get<>::_M_extract):
The value _space_ indicates that at least one space is required
at that position.
* testsuite/22_locale/money_get/get/char/17.cc: New.
* testsuite/22_locale/money_get/get/wchar_t/17.cc: New.

* testsuite/22_locale/money_get/get/char/7.cc: Minor tweaks.
* testsuite/22_locale/money_get/get/wchar_t/7.cc: Likewise.

* include/bits/locale_facets.tcc (money_get<>::do_get(long_double&)):
Remove redundant conditional on __str.size().

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@79111 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/locale_facets.tcc
libstdc++-v3/testsuite/22_locale/money_get/get/char/17.cc [new file with mode: 0644]
libstdc++-v3/testsuite/22_locale/money_get/get/char/7.cc
libstdc++-v3/testsuite/22_locale/money_get/get/wchar_t/17.cc [new file with mode: 0644]
libstdc++-v3/testsuite/22_locale/money_get/get/wchar_t/7.cc