gcc/libstdc++-v3/include/bits
Benjamin Kosnik 39003c9902 std_fstream.h (basic_filebuf): Change signature.
2001-05-07  Benjamin Kosnik  <bkoz@redhat.com>

	libstdc++/2523
	* include/bits/std_fstream.h (basic_filebuf): Change signature.
	* include/bits/fstream.tcc (basic_filebuf): Change bool argument
	to int_type, pass in buffer size info.
	* include/bits/std_streambuf.h (_M_is_indeterminate): Check for
	unbuffered situation.
	(underflow): Remove codecvt bits for the time being.
	* include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
	* include/bits/locale_facets.tcc (_M_extract): Cache dereference
	values from iterators, clean.
	* src/locale.cc: Ditto.
	* include/bits/sbuf_iter.h: Format.
	* src/ios.cc: Explicitly pass in buffer sizes at creation time.
	* testsuite/27_io/narrow_stream_objects.cc: Add tests.
	* testsuite/27_io/filebuf.cc: Tweaks.
	* testsuite/27_io/filebuf_members.cc: Tweaks.

From-SVN: r41908
2001-05-08 03:07:56 +00:00
..
basic_file.h basic_file.h (get_fileno): Remove. 2001-03-27 03:48:17 +00:00
basic_ios.h algo.h: Use std not __STD. 2001-03-04 21:34:02 +00:00
basic_ios.tcc algo.h: Use std not __STD. 2001-03-04 21:34:02 +00:00
basic_string.h algo.h: Use std not __STD. 2001-03-04 21:34:02 +00:00
basic_string.tcc * include/bits/basic_string.tcc (operator+): Fix thinko. 2001-03-15 08:46:23 +00:00
boost_concept_check.h boost_concept_check.h (_Mutable_ContainerConcept): Properly uglify member. 2001-04-14 09:46:13 +00:00
c++config acconfig.h (_GLIBCPP_USE_C99): Add. 2001-04-20 08:59:25 +00:00
char_traits.h std_iosfwd.h: Remove string forward decls here. 2001-03-07 22:22:41 +00:00
codecvt.h std_cmath.h (std): Explicitly inject c99 names. 2001-04-26 02:23:52 +00:00
concept_check.h map_operators.cc: Add dg-excess-errors. 2001-04-18 01:06:05 +00:00
cpp_type_traits.h Add #pragma system_header to header files. 2001-02-19 18:52:25 +00:00
fpos.h std_iosfwd.h: Remove string forward decls here. 2001-03-07 22:22:41 +00:00
fstream.tcc std_fstream.h (basic_filebuf): Change signature. 2001-05-08 03:07:56 +00:00
functexcept.h algo.h: Use std not __STD. 2001-03-04 21:34:02 +00:00
generic_shadow.h include: New directory. 2000-10-05 11:27:02 +00:00
gslice.h Add #pragma system_header to header files. 2001-02-19 18:52:25 +00:00
gslice_array.h Add #pragma system_header to header files. 2001-02-19 18:52:25 +00:00
indirect_array.h Add #pragma system_header to header files. 2001-02-19 18:52:25 +00:00
ios_base.h fstream.tcc: Add bool parameter to filebuf ctor. 2001-04-04 01:02:26 +00:00
istream.tcc std_fstream.h (basic_filebuf): Change signature. 2001-05-08 03:07:56 +00:00
limits_generic.h Add #pragma system_header to header files. 2001-02-19 18:52:25 +00:00
locale_facets.h Add #pragma system_header to header files. 2001-02-19 18:52:25 +00:00
locale_facets.tcc std_fstream.h (basic_filebuf): Change signature. 2001-05-08 03:07:56 +00:00
localefwd.h std_streambuf.h: Remove cached locale facets. 2001-03-14 20:46:34 +00:00
mask_array.h algo.h: Use std not __STD. 2001-03-04 21:34:02 +00:00
ostream.tcc ostream.tcc: Use __builtin_alloca. 2001-03-23 20:29:14 +00:00
pthread_allocimpl.h algo.h: Use std not __STD. 2001-03-04 21:34:02 +00:00
sbuf_iter.h std_fstream.h (basic_filebuf): Change signature. 2001-05-08 03:07:56 +00:00
slice.h algo.h: Use std not __STD. 2001-03-04 21:34:02 +00:00
slice_array.h algo.h: Use std not __STD. 2001-03-04 21:34:02 +00:00
sstream.tcc algo.h: Use std not __STD. 2001-03-04 21:34:02 +00:00
std_algorithm.h Add #pragma system_header to header files. 2001-02-19 18:52:25 +00:00
std_bitset.h std_bitset.h: Include ostream and istream headers instead of iostream. 2001-03-24 23:46:38 +00:00
std_complex.h Add #pragma system_header to header files. 2001-02-19 18:52:25 +00:00
std_deque.h Add #pragma system_header to header files. 2001-02-19 18:52:25 +00:00
std_fstream.h std_fstream.h (basic_filebuf): Change signature. 2001-05-08 03:07:56 +00:00
std_functional.h stl_config.h: Remove file. 2001-02-20 20:20:48 +00:00
std_iomanip.h algo.h: Use std not __STD. 2001-03-04 21:34:02 +00:00
std_ios.h algo.h: Use std not __STD. 2001-03-04 21:34:02 +00:00
std_iosfwd.h std_iosfwd.h: Remove string forward decls here. 2001-03-07 22:22:41 +00:00
std_iostream.h Add #pragma system_header to header files. 2001-02-19 18:52:25 +00:00
std_istream.h algo.h: Use std not __STD. 2001-03-04 21:34:02 +00:00
std_iterator.h New concept checking implementation. 2001-04-03 00:26:58 +00:00
std_list.h Add #pragma system_header to header files. 2001-02-19 18:52:25 +00:00
std_locale.h Add #pragma system_header to header files. 2001-02-19 18:52:25 +00:00
std_map.h Add #pragma system_header to header files. 2001-02-19 18:52:25 +00:00
std_memory.h New concept checking implementation. 2001-04-03 00:26:58 +00:00
std_numeric.h stl_config.h: Remove file. 2001-02-20 20:20:48 +00:00
std_ostream.h basic_file.h (get_fileno): Remove. 2001-03-27 03:48:17 +00:00
std_queue.h [multiple changes] 2001-03-31 20:15:43 +00:00
std_set.h Add #pragma system_header to header files. 2001-02-19 18:52:25 +00:00
std_sstream.h sbuf_iter.h (istreambuf_iterator): Correct. 2001-05-02 05:50:20 +00:00
std_stack.h Add #pragma system_header to header files. 2001-02-19 18:52:25 +00:00
std_stdexcept.h std_stdexcept.h (runtime_error): Make string member non-const. 2001-02-27 23:00:35 +00:00
std_streambuf.h std_fstream.h (basic_filebuf): Change signature. 2001-05-08 03:07:56 +00:00
std_string.h algo.h: Use std not __STD. 2001-03-04 21:34:02 +00:00
std_utility.h stl_config.h: Remove file. 2001-02-20 20:20:48 +00:00
std_valarray.h std_valarray.h (valarray<>::operator[]): Make inline. 2001-04-08 16:20:49 +00:00
std_vector.h [multiple changes] 2001-03-31 20:15:43 +00:00
stl_algo.h acconfig.h (_GLIBCPP_USE_C99): Add. 2001-04-20 08:59:25 +00:00
stl_algobase.h stl_algobase.h (equal): Use EqualOpConcept instead of EqualityComparableConcept. 2001-04-13 09:28:56 +00:00
stl_alloc.h algo.h: Use std not __STD. 2001-03-04 21:34:02 +00:00
stl_bvector.h stl_bvector.h: Replace __ITERATOR_CATEGORY with __iterator_category. 2001-04-20 20:16:37 +00:00
stl_construct.h New concept checking implementation. 2001-04-03 00:26:58 +00:00
stl_deque.h boost_concept_check.h: Uglify, fork from Boost. 2001-04-13 09:03:18 +00:00
stl_function.h algo.h: Use std not __STD. 2001-03-04 21:34:02 +00:00
stl_heap.h boost_concept_check.h: Uglify, fork from Boost. 2001-04-13 09:03:18 +00:00
stl_iterator.h algo.h: Use std not __STD. 2001-03-04 21:34:02 +00:00
stl_iterator_base_funcs.h stl_iterator_base_funcs.h (__advance): Fix. 2001-04-30 18:07:51 +00:00
stl_iterator_base_types.h stl_iterator_base_types.h: Fix typo 2001-04-03 20:40:26 +00:00
stl_list.h boost_concept_check.h: Uglify, fork from Boost. 2001-04-13 09:03:18 +00:00
stl_map.h boost_concept_check.h: Uglify, fork from Boost. 2001-04-13 09:03:18 +00:00
stl_multimap.h boost_concept_check.h: Uglify, fork from Boost. 2001-04-13 09:03:18 +00:00
stl_multiset.h boost_concept_check.h: Uglify, fork from Boost. 2001-04-13 09:03:18 +00:00
stl_numeric.h boost_concept_check.h: Uglify, fork from Boost. 2001-04-13 09:03:18 +00:00
stl_pair.h algo.h: Use std not __STD. 2001-03-04 21:34:02 +00:00
stl_pthread_alloc.h algo.h: Use std not __STD. 2001-03-04 21:34:02 +00:00
stl_queue.h boost_concept_check.h: Uglify, fork from Boost. 2001-04-13 09:03:18 +00:00
stl_raw_storage_iter.h algo.h: Use std not __STD. 2001-03-04 21:34:02 +00:00
stl_relops.h algo.h: Use std not __STD. 2001-03-04 21:34:02 +00:00
stl_set.h boost_concept_check.h: Uglify, fork from Boost. 2001-04-13 09:03:18 +00:00
stl_stack.h boost_concept_check.h: Uglify, fork from Boost. 2001-04-13 09:03:18 +00:00
stl_tempbuf.h algo.h: Use std not __STD. 2001-03-04 21:34:02 +00:00
stl_threads.h algo.h: Use std not __STD. 2001-03-04 21:34:02 +00:00
stl_tree.h algo.h: Use std not __STD. 2001-03-04 21:34:02 +00:00
stl_uninitialized.h New concept checking implementation. 2001-04-03 00:26:58 +00:00
stl_vector.h boost_concept_check.h: Uglify, fork from Boost. 2001-04-13 09:03:18 +00:00
streambuf.tcc basic_file.h (get_fileno): Remove. 2001-03-27 03:48:17 +00:00
stringfwd.h std_iosfwd.h: Remove string forward decls here. 2001-03-07 22:22:41 +00:00
type_traits.h algo.h: Use std not __STD. 2001-03-04 21:34:02 +00:00
valarray_array.h Add #pragma system_header to header files. 2001-02-19 18:52:25 +00:00
valarray_array.tcc include: New directory. 2000-10-05 11:27:02 +00:00
valarray_meta.h algo.h: Use std not __STD. 2001-03-04 21:34:02 +00:00