From 9f12c2a69312eb527dd1f0868e79e529269da300 Mon Sep 17 00:00:00 2001 From: Benjamin Kosnik Date: Tue, 16 Jan 2001 07:58:40 +0000 Subject: [PATCH] C++STYLE (classname): Add more existing and stylish patterns. 2001-01-16 Benjamin Kosnik * 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 * 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 * include/bits/streambuf.tcc (streambuf::xsputn): Just check for equality with eof on returned value from overflow. From-SVN: r39060 --- libstdc++-v3/ChangeLog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index dc0461fcbd4..052321f7dcf 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -5,7 +5,7 @@ libstdc++/944 * include/bits/istream.tcc (istream::sentry::sentry()): Set - failbit if the tate of the stream is not good. + 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. -- 2.30.2