gcc/libstdc++-v3/testsuite/27_io
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
..
basic_filebuf std_sstream.h (basic_stringbuf(ios_base::openmode)): Don't use _M_stringbuf_init, keep the pointers null, per 27.7.1.1. 2004-09-29 21:14:43 +00:00
basic_fstream
basic_ifstream
basic_ios
basic_iostream
basic_istream sstream.tcc (pbackfail): Implement correctly 27.7.1.3/2, bullet 2... 2004-10-01 21:01:29 +00:00
basic_istringstream 2832.cc: New. 2004-08-24 13:55:44 +00:00
basic_ofstream
basic_ostream PR libstdc++/10975 (DR 453) 2004-09-30 17:23:10 +00:00
basic_ostringstream 2832.cc: New. 2004-08-24 13:55:44 +00:00
basic_streambuf std_sstream.h (basic_stringbuf(ios_base::openmode)): Don't use _M_stringbuf_init, keep the pointers null, per 27.7.1.1. 2004-09-29 21:14:43 +00:00
basic_stringbuf [multiple changes] 2004-10-06 09:06:59 +00:00
basic_stringstream 2832.cc: Remove junk. 2004-08-15 23:08:58 +00:00
fpos
ios_base PR libstdc++/7219 (continued) 2004-08-20 21:14:56 +00:00
manipulators 1.cc: New. 2004-08-27 14:45:47 +00:00
objects
types PR libstdc++/7219 (continued) 2004-08-20 21:14:56 +00:00