diff options
author | Benjamin Kosnik <bkoz@gcc.gnu.org> | 2001-01-16 07:58:40 +0000 |
---|---|---|
committer | Benjamin Kosnik <bkoz@gcc.gnu.org> | 2001-01-16 07:58:40 +0000 |
commit | 9f12c2a69312eb527dd1f0868e79e529269da300 (patch) | |
tree | 7ad3427987ee41b1eb95b78eb532763e5dc16da8 /gcc | |
parent | 13187a454dca9455422877ab1db31e92882c18f5 (diff) | |
download | gcc-9f12c2a69312eb527dd1f0868e79e529269da300.zip gcc-9f12c2a69312eb527dd1f0868e79e529269da300.tar.gz gcc-9f12c2a69312eb527dd1f0868e79e529269da300.tar.bz2 |
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: r39060
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions