diff options
author | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-02-27 10:12:01 +0000 |
---|---|---|
committer | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-02-27 10:12:01 +0000 |
commit | 3ceb660caff72246cbb55f77b76a148d21f13e1c (patch) | |
tree | 573d60da293db9dc5e30cf1961f83d9bf0d701bc /libstdc++-v3/include/bits/locale_facets.h | |
parent | a49a878ff6716082594ee19b7a9aa083afb0b272 (diff) | |
download | ppe42-gcc-3ceb660caff72246cbb55f77b76a148d21f13e1c.tar.gz ppe42-gcc-3ceb660caff72246cbb55f77b76a148d21f13e1c.zip |
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
Diffstat (limited to 'libstdc++-v3/include/bits/locale_facets.h')
-rw-r--r-- | libstdc++-v3/include/bits/locale_facets.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/include/bits/locale_facets.h b/libstdc++-v3/include/bits/locale_facets.h index e4735a82c8b..cd725f52ad1 100644 --- a/libstdc++-v3/include/bits/locale_facets.h +++ b/libstdc++-v3/include/bits/locale_facets.h @@ -4128,7 +4128,7 @@ namespace std template<bool _Intl> iter_type _M_extract(iter_type __s, iter_type __end, ios_base& __io, - ios_base::iostate& __err, string_type& __digits) const; + ios_base::iostate& __err, string& __digits) const; }; template<typename _CharT, typename _InIter> |