gcc/libstdc++-v3/testsuite/27_io
Petur Runolfsson 5681c890b6 re PR libstdc++/12594 (DRs 60 [TC] and 63 [TC] not implemented)
2003-11-13  Petur Runolfsson  <peturr02@ru.is>

	PR libstdc++/12594
	* include/bits/ostream.tcc
	(basic_ostream::operator<<(basic_ostream& (*)(basic_ostream&)),
	basic_ostream::operator<<(basic_ios& (*)(basic_ios&)),
	basic_ostream::operator<<(ios_base& (*)(ios_base&))):
	Implement the resolution of DR 60 (TC): These are not formatted
	output functions so don't construct sentry objects and don't
	catch exceptions.
	(basic_ostream::put, basic_ostream::write): Implement the
	resolution of DR 63 (TC) by catching exceptions and setting
	badbit.
	(basic_ostream::flush): Implement the resolution of DR 60 (TC):
	This is not an unformatted output function so don't construct
	a sentry object.
	* testsuite/testsuite_io.h (sync_streambuf): Define.
	* testsuite/27_io/basic_ostream/flush/char/2.cc: New test.
	* testsuite/27_io/basic_ostream/inserters_other/char/5.cc: New test.
	* testsuite/27_io/basic_ostream/put/char/1.cc: New test.
	* testsuite/27_io/basic_ostream/write/char/1.cc: New test.

From-SVN: r73551
2003-11-13 17:43:48 +00:00
..
basic_filebuf 11305-1: Fix, closely following the testcase included in the PR. 2003-11-13 14:19:39 +00:00
basic_fstream re PR libstdc++/12790 (basic_filebuf doesn't handle stateful encodings) 2003-11-04 05:27:41 +00:00
basic_ifstream re PR libstdc++/12790 (basic_filebuf doesn't handle stateful encodings) 2003-11-04 05:27:41 +00:00
basic_ios locale_facets.tcc: Tweak to avoid warnings. 2003-09-23 20:03:30 +00:00
basic_iostream locale_facets.tcc: Tweak to avoid warnings. 2003-09-23 20:03:30 +00:00
basic_istream TODO: Add links. 2003-10-27 21:43:33 +00:00
basic_istringstream locale_facets.tcc: Tweak to avoid warnings. 2003-09-23 20:03:30 +00:00
basic_ofstream re PR libstdc++/12790 (basic_filebuf doesn't handle stateful encodings) 2003-11-04 05:27:41 +00:00
basic_ostream re PR libstdc++/12594 (DRs 60 [TC] and 63 [TC] not implemented) 2003-11-13 17:43:48 +00:00
basic_ostringstream locale_facets.tcc: Tweak to avoid warnings. 2003-09-23 20:03:30 +00:00
basic_streambuf locale_facets.tcc: Tweak to avoid warnings. 2003-09-23 20:03:30 +00:00
basic_stringbuf [multiple changes] 2003-10-16 22:37:53 +00:00
basic_stringstream locale_facets.tcc: Tweak to avoid warnings. 2003-09-23 20:03:30 +00:00
fpos [multiple changes] 2003-10-16 22:37:53 +00:00
ios_base codecvt_specializations.h: Change #ifdef _GLIBCXX_RESOLVE_LIB_DEFECTS to a comment. 2003-10-12 10:12:09 +00:00
manipulators locale_facets.tcc: Tweak to avoid warnings. 2003-09-23 20:03:30 +00:00
objects [multiple changes] 2003-10-16 22:37:53 +00:00
types [multiple changes] 2003-10-16 22:37:53 +00:00