gcc/libstdc++-v3/testsuite/27_io/basic_ostream
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
..
cons/char locale_facets.tcc: Tweak to avoid warnings. 2003-09-23 20:03:30 +00:00
endl/char locale_facets.tcc: Tweak to avoid warnings. 2003-09-23 20:03:30 +00:00
ends/char locale_facets.tcc: Tweak to avoid warnings. 2003-09-23 20:03:30 +00:00
exceptions/char locale_facets.tcc: Tweak to avoid warnings. 2003-09-23 20:03:30 +00:00
flush/char re PR libstdc++/12594 (DRs 60 [TC] and 63 [TC] not implemented) 2003-11-13 17:43:48 +00:00
inserters_arithmetic locale_facets.tcc: Tweak to avoid warnings. 2003-09-23 20:03:30 +00:00
inserters_character locale_facets.tcc: Tweak to avoid warnings. 2003-09-23 20:03:30 +00:00
inserters_other/char re PR libstdc++/12594 (DRs 60 [TC] and 63 [TC] not implemented) 2003-11-13 17:43:48 +00:00
put/char re PR libstdc++/12594 (DRs 60 [TC] and 63 [TC] not implemented) 2003-11-13 17:43:48 +00:00
sentry re PR libstdc++/10081 (basic_ios::_M_cache_locale leaves NULL members in the face of unknown locales) 2003-10-20 22:11:40 +00:00
tellp/char locale_facets.tcc: Tweak to avoid warnings. 2003-09-23 20:03:30 +00:00
write/char re PR libstdc++/12594 (DRs 60 [TC] and 63 [TC] not implemented) 2003-11-13 17:43:48 +00:00
1.cc Reshuffle 27_io testsuite. 2003-04-10 07:15:40 +00:00
2.cc *: Change __gnu_cxx_test to __gnu_test. 2003-07-24 21:08:03 +00:00
3.cc locale_facets.tcc: Tweak to avoid warnings. 2003-09-23 20:03:30 +00:00
4.cc locale_facets.tcc: Tweak to avoid warnings. 2003-09-23 20:03:30 +00:00