gcc/libstdc++-v3/include
Benjamin Kosnik 69302d8b5e 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
2001-03-14 20:46:34 +00:00
..
backward vector.h: Include std_vector.h. 2001-03-12 19:58:04 +00:00
bits std_streambuf.h: Remove cached locale facets. 2001-03-14 20:46:34 +00:00
c/bits configure.in: Change GLIBCPP_ENABLE_SHADOW to GLIBCPP_ENABLE_CHEADERS. 2000-12-22 00:14:08 +00:00
c_shadow * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo. 2001-02-09 14:12:51 +00:00
c_std/bits std_cerrno.h: Don't define errno in std::. 2001-03-06 23:32:59 +00:00
ext stl_hashtable.h: Change type of __n to size_t 2001-03-12 18:18:34 +00:00
std strstream.cc: Adjust includes. 2000-11-22 00:05:16 +00:00