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
filebuf-1.tst
filebuf-1.txt
filebuf-2.tst
filebuf-3.tst
filebuf.cc
fpos.cc
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
ios_base_members_static.cc
ios_base_storage.cc [multiple changes] 2000-12-20 08:24:40 +00:00
ios_ctor.cc
ios_manip_basefield.cc
ios_manip_fmtflags.cc
ios_members.cc
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
istream_extractor_other-1.tst
istream_extractor_other-1.txt
istream_extractor_other-2.tst
istream_extractor_other.cc
istream_manip.cc C++STYLE (classname): Add more existing and stylish patterns. 2001-01-16 07:55:26 +00:00
istream_seeks.cc
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_unformatted-3.txt
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
narrow_stream_objects.cc
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
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
ostream_unformatted.cc
ostream.cc
streambuf.cc C++STYLE (classname): Add more existing and stylish patterns. 2001-01-16 07:55:26 +00:00
stringbuf.cc
stringstream.cc
wide_stream_objects.cc