gcc/libstdc++-v3/testsuite/27_io
Benjamin Kosnik 13187a454d C++STYLE (classname): Add more existing and stylish patterns.
2001-01-16  Benjamin Kosnik  <bkoz@redhat.com>

	* docs/html/17_intro/C++STYLE (classname): Add more existing
	and stylish patterns.

	libstdc++/944
	* include/bits/istream.tcc (istream::sentry::sentry()): Set
	failbit if the state of the stream is not good.
	* testsuite/27_io/istream_sentry.cc (test02): Add test.
	* testsuite/27_io/istream_manip.cc (test01): Modify.

	libstdc++/1019
	reported by Paolo Carlini <pcarlini@unitus.it>
	* include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
	* testsuite/21_strings/inserters_extractors.cc (test08): Add test.

	libstdc++/1057
	* include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
	* include/bits/streambuf.tcc (xsputn): Remove outside if clause.
	(xsgetn): Same. Simplify.
	* testsuite/27_io/streambuf.cc (test04): Add testcases.

	reported by Larry Evans <jcampbell3@prodigy.net>
	* include/bits/streambuf.tcc (streambuf::xsputn): Just check for
	equality with eof on returned value from overflow.

From-SVN: r39059
2001-01-16 07:55:26 +00:00
..
filebuf_members-1.tst
filebuf_members.cc debug_assert.h: new file 2000-08-14 19:59:26 +00:00
filebuf-1.tst
filebuf-1.txt
filebuf-2.tst
filebuf-3.tst
filebuf.cc debug_assert.h: new file 2000-08-14 19:59:26 +00:00
fpos.cc [multiple changes] 2000-10-31 01:26:06 +00:00
ifstream_members-1.tst
ifstream_members.cc acinclude.m4, [...]: Change sourceware.cygnus.com and sources.redhat.com URLs for libstdc++ web... 2000-12-21 22:08:39 +00:00
ios_base_callbacks.cc debug_assert.h: new file 2000-08-14 19:59:26 +00:00
ios_base_members_static.cc debug_assert.h: new file 2000-08-14 19:59:26 +00:00
ios_base_storage.cc [multiple changes] 2000-12-20 08:24:40 +00:00
ios_ctor.cc debug_assert.h: new file 2000-08-14 19:59:26 +00:00
ios_manip_basefield.cc debug_assert.h: new file 2000-08-14 19:59:26 +00:00
ios_manip_fmtflags.cc debug_assert.h: new file 2000-08-14 19:59:26 +00:00
ios_members.cc debug_assert.h: new file 2000-08-14 19:59:26 +00:00
istream_extractor_arith.cc acinclude.m4, [...]: Change sourceware.cygnus.com and sources.redhat.com URLs for libstdc++ web... 2000-12-21 22:08:39 +00:00
istream_extractor_char.cc debug_assert.h: new file 2000-08-14 19:59:26 +00:00
istream_extractor_other-1.tst
istream_extractor_other-1.txt
istream_extractor_other-2.tst
istream_extractor_other.cc debug_assert.h: new file 2000-08-14 19:59:26 +00:00
istream_manip.cc C++STYLE (classname): Add more existing and stylish patterns. 2001-01-16 07:55:26 +00:00
istream_seeks.cc * testsuite/27_io/istream_seeks.cc: Fix spelling typo. * testsuite/27_io/ostream_seeks.cc: Similarly. 2000-10-17 20:07:54 -06:00
istream_sentry.cc C++STYLE (classname): Add more existing and stylish patterns. 2001-01-16 07:55:26 +00:00
istream_unformatted-1.tst
istream_unformatted-1.txt
istream_unformatted-2.tst
istream_unformatted-3.tst istream.tcc: Removed test for _M_gcount < in_avail()... 2000-10-06 07:11:26 +00:00
istream_unformatted-3.txt istream.tcc: Removed test for _M_gcount < in_avail()... 2000-10-06 07:11:26 +00:00
istream_unformatted.cc C++STYLE (classname): Add more existing and stylish patterns. 2001-01-16 07:55:26 +00:00
istream.cc
istringstream_members.cc debug_assert.h: new file 2000-08-14 19:59:26 +00:00
narrow_stream_objects.cc debug_assert.h: new file 2000-08-14 19:59:26 +00:00
ofstream_members-1.tst
ofstream_members.cc acinclude.m4, [...]: Change sourceware.cygnus.com and sources.redhat.com URLs for libstdc++ web... 2000-12-21 22:08:39 +00:00
ostream_inserter_arith.cc [multiple changes] 2000-10-31 01:26:06 +00:00
ostream_inserter_char-1.tst
ostream_inserter_char.cc acinclude.m4, [...]: Change sourceware.cygnus.com and sources.redhat.com URLs for libstdc++ web... 2000-12-21 22:08:39 +00:00
ostream_inserter_other-1.tst
ostream_inserter_other-2.tst
ostream_inserter_other.cc acinclude.m4, [...]: Change sourceware.cygnus.com and sources.redhat.com URLs for libstdc++ web... 2000-12-21 22:08:39 +00:00
ostream_manip.cc acinclude.m4, [...]: Change sourceware.cygnus.com and sources.redhat.com URLs for libstdc++ web... 2000-12-21 22:08:39 +00:00
ostream_seeks-1.tst
ostream_seeks.cc * testsuite/27_io/istream_seeks.cc: Fix spelling typo. * testsuite/27_io/ostream_seeks.cc: Similarly. 2000-10-17 20:07:54 -06:00
ostream_unformatted.cc debug_assert.h: new file 2000-08-14 19:59:26 +00:00
ostream.cc
streambuf.cc C++STYLE (classname): Add more existing and stylish patterns. 2001-01-16 07:55:26 +00:00
stringbuf.cc debug_assert.h: new file 2000-08-14 19:59:26 +00:00
stringstream.cc stringstream.cc (test02): Fix. 2000-08-14 21:14:19 +00:00
wide_stream_objects.cc debug_assert.h: new file 2000-08-14 19:59:26 +00:00