From e7d7a7a734759ee8189dfcd780a6d659af115f80 Mon Sep 17 00:00:00 2001 From: Benjamin Kosnik Date: Fri, 8 Feb 2002 12:59:49 +0000 Subject: [PATCH] 2002-02-08 Benjamin Kosnik * include/bits/locale_facets.h (numpunct<_CharT>::_M_initialize_numpunct): Remove definition. (__timepunct<_CharT>::_M_initialize_timepunct): Same. (__timepunct<_CharT>::_M_put_helper): Same. (moneypunct<_CharT, _Intl>::_M_initialize_moneypunct): Same. * include/bits/fstream.tcc (filebuf::underflow): Remove __codecvt_type typedef. (filebuf::_M_convert_to_external): Same. From-SVN: r49614 --- libstdc++-v3/ChangeLog | 12 ++++++++++++ libstdc++-v3/include/bits/fstream.tcc | 2 -- libstdc++-v3/include/bits/locale_facets.h | 24 ----------------------- 3 files changed, 12 insertions(+), 26 deletions(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 4786fce2d42..448f9af55f4 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,15 @@ +2002-02-08 Benjamin Kosnik + + * include/bits/locale_facets.h + (numpunct<_CharT>::_M_initialize_numpunct): Remove definition. + (__timepunct<_CharT>::_M_initialize_timepunct): Same. + (__timepunct<_CharT>::_M_put_helper): Same. + (moneypunct<_CharT, _Intl>::_M_initialize_moneypunct): Same. + + * include/bits/fstream.tcc (filebuf::underflow): Remove + __codecvt_type typedef. + (filebuf::_M_convert_to_external): Same. + 2002-02-08 Phil Edwards * docs/doxygen/TODO: Update. diff --git a/libstdc++-v3/include/bits/fstream.tcc b/libstdc++-v3/include/bits/fstream.tcc index 4ef0bcccecc..72dadc4000a 100644 --- a/libstdc++-v3/include/bits/fstream.tcc +++ b/libstdc++-v3/include/bits/fstream.tcc @@ -277,7 +277,6 @@ namespace std if (__testinit || __testget) { - typedef codecvt __codecvt_type; const locale __loc = this->getloc(); const __codecvt_type& __cvt = use_facet<__codecvt_type>(__loc); @@ -431,7 +430,6 @@ namespace std _M_convert_to_external(_CharT* __ibuf, streamsize __ilen, streamsize& __elen, streamsize& __plen) { - typedef codecvt __codecvt_type; const locale __loc = this->getloc(); const __codecvt_type& __cvt = use_facet<__codecvt_type>(__loc); diff --git a/libstdc++-v3/include/bits/locale_facets.h b/libstdc++-v3/include/bits/locale_facets.h index 052b1bd1f21..c00e17cd5aa 100644 --- a/libstdc++-v3/include/bits/locale_facets.h +++ b/libstdc++-v3/include/bits/locale_facets.h @@ -529,12 +529,6 @@ namespace std template locale::id numpunct<_CharT>::id; - // NB: Cannot be made generic. - template - void - numpunct<_CharT>::_M_initialize_numpunct(__c_locale) - { } - template<> void numpunct::_M_initialize_numpunct(__c_locale __cloc); @@ -1144,18 +1138,6 @@ namespace std template const _CharT* __timepunct<_CharT>::_S_timezones[14]; - // NB: Cannot be made generic. - template - void - __timepunct<_CharT>::_M_initialize_timepunct(__c_locale) - { } - - // NB: Cannot be made generic. - template - void - __timepunct<_CharT>::_M_put_helper(_CharT*, size_t, const _CharT*, - const tm*) const - { } template class time_get : public locale::facet, public time_base @@ -1456,12 +1438,6 @@ namespace std template const bool moneypunct<_CharT, _Intl>::intl; - // NB: Cannot be made generic. - template - void - moneypunct<_CharT, _Intl>::_M_initialize_moneypunct(__c_locale) - { } - template<> void moneypunct::_M_initialize_moneypunct(__c_locale __cloc); -- 2.30.2