gcc/libstdc++-v3/include/bits
Paolo Carlini 09625c1681 re PR libstdc++/13582 (basic_filebuf::imbue drops characters)
2004-01-11  Paolo Carlini  <pcarlini@suse.de>

	PR libstdc++/13582
	* include/bits/fstream.tcc (imbue): Exploit the external
	buffer to imbue 'on the fly' a new locale and convert its
	remainder with the new codecvt facet.
	(underflow): Tweak slightly to deal with this special case.
	* testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: New.
	* testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc: Ditto.
	* testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-3.cc: Ditto.
	* testsuite/27_io/objects/wchar_t/13582-1_xin.cc: Ditto.
	* testsuite/27_io/objects/wchar_t/13582-1_xin.in: Ditto.

From-SVN: r75677
2004-01-11 15:17:02 +00:00
..
allocator_traits.h re PR libstdc++/10378 ([library DR 402] cannot add object with inplace new into STL collections) 2003-12-01 15:34:07 +00:00
allocator.h re PR libstdc++/10378 ([library DR 402] cannot add object with inplace new into STL collections) 2003-12-01 15:34:07 +00:00
basic_ios.h basic_ios.h (basic_ios::setstate): Revert. 2003-12-02 02:48:51 +00:00
basic_ios.tcc re PR libstdc++/9371 (Bad exception handling in i/ostream::operator>>/<<(streambuf*)) 2003-11-27 08:14:25 +00:00
basic_string.h basic_string.h: Change _*_references to _*_refcount. 2003-12-15 19:48:50 +00:00
basic_string.tcc basic_string.tcc (reserve): Allow shrink-to-fit. 2003-12-11 22:29:12 +00:00
boost_concept_check.h
c++config Daily bump. 2004-01-11 00:16:12 +00:00
char_traits.h
codecvt.h
concept_check.h
concurrence.h re PR libstdc++/12658 (Thread safety problems in locale::global() and locale::locale()) 2003-12-15 21:08:03 +00:00
cpp_type_traits.h
demangle.h * bits/demangle.h 2003-12-19 23:15:24 +00:00
deque.tcc
fstream.tcc re PR libstdc++/13582 (basic_filebuf::imbue drops characters) 2004-01-11 15:17:02 +00:00
functexcept.h
gslice_array.h
gslice.h
indirect_array.h
ios_base.h 5.cc: Don't use stdc++.h.gch. 2003-12-22 20:09:23 +00:00
istream.tcc basic_ios.h (basic_ios::setstate): Revert. 2003-12-02 02:48:51 +00:00
list.tcc [multiple changes] 2004-01-07 20:55:06 +00:00
locale_classes.h re PR libstdc++/13630 (Wrong type for locale::category) 2004-01-10 10:15:35 +00:00
locale_facets.h locale_facets.h: Make a name really dependent. 2004-01-10 01:10:23 +00:00
locale_facets.tcc locale_facets.h: Document public classes and functions. 2004-01-07 05:22:37 +00:00
localefwd.h
mask_array.h
ostream.tcc basic_ios.h (basic_ios::setstate): Revert. 2003-12-02 02:48:51 +00:00
postypes.h re PR libstdc++/13189 (<ext/enc_filebuf.h> fails to compile) 2003-12-05 06:54:24 +00:00
slice_array.h
sstream.tcc re PR libstdc++/13189 (<ext/enc_filebuf.h> fails to compile) 2003-12-05 06:54:24 +00:00
stl_algo.h re PR libstdc++/13284 (126 g++ failures due to lrand48 not defined) 2003-12-04 19:37:21 +00:00
stl_algobase.h
stl_bvector.h stl_bvector.h (_Bvector_alloc_base): Eliminate. 2003-12-23 00:09:26 +00:00
stl_construct.h C++STYLE: Add exception bits. 2003-12-01 18:48:24 +00:00
stl_deque.h demangle.h: Fix allocator type correctness, i.e. 2003-12-18 18:35:38 +00:00
stl_function.h
stl_heap.h
stl_iterator_base_funcs.h
stl_iterator_base_types.h
stl_iterator.h
stl_list.h [multiple changes] 2004-01-07 20:55:06 +00:00
stl_map.h
stl_multimap.h
stl_multiset.h re PR libstdc++/13462 (Non-standard conformed type set::pointer) 2003-12-22 11:32:34 -08:00
stl_numeric.h
stl_pair.h
stl_queue.h
stl_raw_storage_iter.h
stl_relops.h
stl_set.h re PR libstdc++/13462 (Non-standard conformed type set::pointer) 2003-12-22 11:32:34 -08:00
stl_stack.h
stl_tempbuf.h
stl_threads.h
stl_tree.h [multiple changes] 2004-01-07 20:55:06 +00:00
stl_uninitialized.h
stl_vector.h [multiple changes] 2004-01-07 20:55:06 +00:00
stream_iterator.h
streambuf_iterator.h streambuf_iterator.h (ostreambuf_iterator): Remove non-standard throw specs. 2003-11-24 21:02:39 +00:00
streambuf.tcc re PR libstdc++/13189 (<ext/enc_filebuf.h> fails to compile) 2003-12-05 06:54:24 +00:00
stringfwd.h
type_traits.h
valarray_after.h
valarray_array.h
valarray_array.tcc
valarray_before.h
vector.tcc