gcc/libstdc++-v3/include/std
Paolo Carlini dbb8bfe8c5 [multiple changes]
2004-10-06  Paolo Carlini  <pcarlini@suse.de>

	* include/std/std_sstream.h (_M_sync): When the caller is
	setbuf, don't trust _M_string.capacity() to be the size of
	the buffer area, use _M_string.size() in this case.
	* testsuite/27_io/basic_stringbuf/setbuf/char/4.cc: New.
	* testsuite/27_io/basic_stringbuf/setbuf/wchar_t/4.cc: Likewise.

	* include/bits/sstream.tcc (overflow): Avoid calling string::assign
	unnecessarily when the current _M_string is empty.

2004-10-06  Paolo Carlini  <pcarlini@suse.de>

	* include/bits/stl_algo.h (__reverse(bidirectional_iterator_tag)):
	Avoid iterator postincrement.
	(__rotate): Likewise.

	* include/bits/stl_algo.h: Minor formatting tweaks.

2004-10-06  Christopher Jefferson <caj@cs.york.ac.uk>

	* include/bits/stl_algo.h (__reverse(random_access_iterator_tag)):
	Avoid iterator postincrement; fix swapping middle element with
	itself on odd-length inputs.

From-SVN: r88593
2004-10-06 09:06:59 +00:00
..
std_algorithm.h [multiple changes] 2003-11-11 20:09:16 +00:00
std_bitset.h std_bitset.h: Minor formatting fixes. 2004-05-16 17:45:29 +00:00
std_complex.h std_complex.h (sin(const complex<_Tp>& __z)): Make this function return a value. 2004-06-10 16:54:49 +00:00
std_deque.h [multiple changes] 2003-11-11 20:09:16 +00:00
std_fstream.h re PR libstdc++/11722 ([3.4 only] Unbuffered filebuf::sgetn is slow) 2004-09-13 22:21:34 +00:00
std_functional.h [multiple changes] 2003-11-11 20:09:16 +00:00
std_iomanip.h cmath.tcc: Use _GLIBCXX_ prefix on file guard. 2003-07-23 15:28:44 +00:00
std_ios.h cmath.tcc: Use _GLIBCXX_ prefix on file guard. 2003-07-23 15:28:44 +00:00
std_iosfwd.h [multiple changes] 2003-10-16 22:37:53 +00:00
std_iostream.h cmath.tcc: Use _GLIBCXX_ prefix on file guard. 2003-07-23 15:28:44 +00:00
std_istream.h std_istream.h (ignore(streamsize __n = 1, int_type __delim = traits_type::eof())): Split into... 2004-06-22 10:06:39 +00:00
std_iterator.h [multiple changes] 2003-11-11 20:09:16 +00:00
std_limits.h cmath.tcc: Use _GLIBCXX_ prefix on file guard. 2003-07-23 15:28:44 +00:00
std_list.h [multiple changes] 2003-11-11 20:09:16 +00:00
std_locale.h cmath.tcc: Use _GLIBCXX_ prefix on file guard. 2003-07-23 15:28:44 +00:00
std_map.h [multiple changes] 2003-11-11 20:09:16 +00:00
std_memory.h c_locale.h: Change ::malloc() to new char[]. 2004-01-30 03:43:00 +00:00
std_numeric.h [multiple changes] 2003-11-11 20:09:16 +00:00
std_ostream.h re PR libstdc++/14078 (Manipulators are slow) 2004-02-11 12:08:23 +00:00
std_queue.h [multiple changes] 2003-11-11 20:09:16 +00:00
std_set.h [multiple changes] 2003-11-11 20:09:16 +00:00
std_sstream.h [multiple changes] 2004-10-06 09:06:59 +00:00
std_stack.h [multiple changes] 2003-11-11 20:09:16 +00:00
std_stdexcept.h cmath.tcc: Use _GLIBCXX_ prefix on file guard. 2003-07-23 15:28:44 +00:00
std_streambuf.h re PR libstdc++/12854 (libstdc++ vs. -Weffc++) 2004-05-22 23:46:34 +00:00
std_string.h c++config (_GLIBCXX_FULLY_COMPLIANT_HEADERS): Remove. 2003-07-30 16:51:51 +00:00
std_utility.h [multiple changes] 2003-11-11 20:09:16 +00:00
std_valarray.h gslice.h: Trivial formatting fixes. 2004-07-08 20:48:04 +00:00
std_vector.h [multiple changes] 2003-11-11 20:09:16 +00:00