locale_facets.h (money_get<>::_M_extract): Change signature: now takes a plain string&.
commitf4bdbead2e8c0d4ec63219c1f94696259556bab1
authorPaolo Carlini <pcarlini@suse.de>
Fri, 27 Feb 2004 10:12:01 +0000 (27 10:12 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Fri, 27 Feb 2004 10:12:01 +0000 (27 10:12 +0000)
tree573d60da293db9dc5e30cf1961f83d9bf0d701bc
parentf6db1481a7e4e5c6d97baecde520bcf60487deb5
locale_facets.h (money_get<>::_M_extract): Change signature: now takes a plain string&.

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.

From-SVN: r78562
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/locale_facets.h
libstdc++-v3/include/bits/locale_facets.tcc
libstdc++-v3/src/locale-inst.cc