diff options
author | Paolo Carlini <pcarlini@suse.de> | 2004-02-22 11:13:27 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2004-02-22 11:13:27 +0000 |
commit | 20da06efdce4e245fe3e13524121fb545796d5f3 (patch) | |
tree | 14b292290bd2f946b9786ef53eb4e649e98776f7 /gcc | |
parent | 5904e65f293211ff7eb67e8eacfaf159a10570ab (diff) | |
download | gcc-20da06efdce4e245fe3e13524121fb545796d5f3.zip gcc-20da06efdce4e245fe3e13524121fb545796d5f3.tar.gz gcc-20da06efdce4e245fe3e13524121fb545796d5f3.tar.bz2 |
locale_facets.tcc (money_put<>::_M_insert): Restructure formatting of value component...
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
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions