OSDN Git Service

2004-02-27 Paolo Carlini <pcarlini@suse.de>
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 27 Feb 2004 10:12:01 +0000 (10:12 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 27 Feb 2004 10:12:01 +0000 (10:12 +0000)
commit3ceb660caff72246cbb55f77b76a148d21f13e1c
tree573d60da293db9dc5e30cf1961f83d9bf0d701bc
parenta49a878ff6716082594ee19b7a9aa083afb0b272
2004-02-27  Paolo Carlini  <pcarlini@suse.de>

* include/bits/locale_facets.h (money_get<>::_M_extract):
Change signature: now takes a plain string&.
* include/bits/locale_facets.tcc (money_get<>::_M_extract):
Update consistently the definition; use the moneypunct cache
to parse the value; use swap to change __units.
(money_get<>::do_get(long double&)): Update call of _M_extract,
avoid ctype::narrow, not correct wrt the standard.
(money_get<>::do_get(string_type&)): Likewise, update call
of _M_extract, use ctype::widen.
* src/locale-inst.cc: Tweak instantiations of _M_extract.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78562 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/locale_facets.h
libstdc++-v3/include/bits/locale_facets.tcc
libstdc++-v3/src/locale-inst.cc