diff options
author | Benjamin Kosnik <bkoz@redhat.com> | 2001-03-14 20:46:34 +0000 |
---|---|---|
committer | Benjamin Kosnik <bkoz@gcc.gnu.org> | 2001-03-14 20:46:34 +0000 |
commit | 69302d8b5e643da233f4f8fd732282f685b19cec (patch) | |
tree | cfe69867a39c233ba7844a245ad8cbc08f5178fd /include | |
parent | 16a0fe505976609468dad38f6f7ddc2e68517ee7 (diff) | |
download | gcc-69302d8b5e643da233f4f8fd732282f685b19cec.zip gcc-69302d8b5e643da233f4f8fd732282f685b19cec.tar.gz gcc-69302d8b5e643da233f4f8fd732282f685b19cec.tar.bz2 |
std_streambuf.h: Remove cached locale facets.
2001-03-14 Benjamin Kosnik <bkoz@redhat.com>
libstdc++/2020
* include/bits/std_streambuf.h: Remove cached locale facets.
(basic_streambuf::_M_buf_fctype): Remove.
(basic_streambuf::~basic_streambuf): Remove here.
(basic_streambuf::basic_streambuf): Same.
(basic_streambuf::imbue): Same.
* include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
* include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
(basic_filebuf::~basic_filebuf()): Remove here.
* include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
(basic_filebuf::imbue): Same.
* include/bits/localefwd.h (_Count_ones): Remove.
(locale::_S_num_categories): Just use 6, since this doesn't
actually change, ever.
* include/bits/locale_facets.tcc (has_facet): Simplify.
(use_facet): Same.
* testsuite/27_io/filebuf.cc (test06): Add tests.
From-SVN: r40472
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions