2002-02-05 Paolo Carlini <pcarlini@unitus.it>
* include/bits/locale_facets.tcc (money_get::do_get(string)): First construct a tentative returned string, then, only if the parsing succeeds, copy it into the string passed by reference. * testsuite/22_locale/money_get_members_char.cc: Add test06. * testsuite/22_locale/money_get_members_wchar_t.cc: Add test06. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49523 138bc75d-0d04-0410-961f-82ee72b054a4
Showing
- libstdc++-v3/ChangeLog 8 additions, 0 deletionslibstdc++-v3/ChangeLog
- libstdc++-v3/include/bits/locale_facets.tcc 12 additions, 5 deletionslibstdc++-v3/include/bits/locale_facets.tcc
- libstdc++-v3/testsuite/22_locale/money_get_members_char.cc 37 additions, 0 deletionslibstdc++-v3/testsuite/22_locale/money_get_members_char.cc
- libstdc++-v3/testsuite/22_locale/money_get_members_wchar_t.cc 37 additions, 0 deletions...tdc++-v3/testsuite/22_locale/money_get_members_wchar_t.cc
Loading
Please register or sign in to comment