2004-02-22 Paolo Carlini <pcarlini@suse.de> * include/bits/locale_facets.tcc (money_put<>::_M_insert): Restructure formatting of value component, first dealing with the non-decimal digits; use reserve. 2004-02-22 Paolo Carlini <pcarlini@suse.de> * include/bits/locale_facets.h (class money_get): Inherit from money_base too; tweak declaration of _M_extract, now parameterized on _Intl too. * include/bits/locale_facets.tcc (money_get<>::_M_extract): Update definition to use the cache; call reserve on __res to avoid multiple reallocations; fix parsing of sign component according to 22.2.6.1.2, p3. (money_get<>::do_get(long double&), money_get<>::do_get(string_type&)): Update calls of _M_extract. * src/locale-inst.cc: Add instantiations of money_get::_M_extract<false> and money_get::_M_extract<true>. * testsuite/22_locale/money_get/get/char/14.cc: New. * testsuite/22_locale/money_get/get/wchar_t/14.cc: Ditto. From-SVN: r78253
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
config | Loading commit data... | |
docs | Loading commit data... | |
include | Loading commit data... | |
libmath | Loading commit data... | |
libsupc++ | Loading commit data... | |
po | Loading commit data... | |
scripts | Loading commit data... | |
src | Loading commit data... | |
testsuite | Loading commit data... | |
.cvsignore | Loading commit data... | |
ChangeLog | Loading commit data... | |
ChangeLog-2000 | Loading commit data... | |
ChangeLog-2001 | Loading commit data... | |
ChangeLog-2002 | Loading commit data... | |
ChangeLog-2003 | Loading commit data... | |
Makefile.am | Loading commit data... | |
Makefile.in | Loading commit data... | |
README | Loading commit data... | |
acconfig.h | Loading commit data... | |
acinclude.m4 | Loading commit data... | |
aclocal.m4 | Loading commit data... | |
config.h.in | Loading commit data... | |
configure | Loading commit data... | |
configure.ac | Loading commit data... | |
configure.host | Loading commit data... | |
crossconfig.m4 | Loading commit data... | |
fragment.am | Loading commit data... | |
linkage.m4 | Loading commit data... |