diff options
author | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-11-26 20:34:27 +0000 |
---|---|---|
committer | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-11-26 20:34:27 +0000 |
commit | f45ab9781532f6d0792421f2fc6dba997c994d90 (patch) | |
tree | b5be3c1e292bc1d5153f23e0b397d3ec01a857d4 /libstdc++-v3/docs | |
parent | 6ce57611c71db9c99791f7f293ab0593e2cbc61d (diff) | |
download | gcc-f45ab9781532f6d0792421f2fc6dba997c994d90.tar.gz |
2004-11-26 Paolo Carlini <pcarlini@suse.de>
DR 243. get and getline when sentry reports failure [WP]
* include/bits/istream.tcc (istream<>::get, istream<>::getline):
Store a null character only if the array has a non-zero size.
* src/istream.cc (istream<char>::getline, istream<wchar_t>::getline):
Likewise.
* testsuite/27_io/basic_istream/get/char/3.cc: New.
* testsuite/27_io/basic_istream/getline/char/6.cc: New.
* testsuite/27_io/basic_istream/getline/wchar_t/6.cc: New.
* docs/html/ext/howto.html: Add an entry for DR 243.
* testsuite/27_io/basic_istream/getline/wchar_t/1.cc: New.
* testsuite/27_io/basic_istream/getline/wchar_t/2.cc: New.
* testsuite/27_io/basic_istream/getline/wchar_t/3.cc: New.
* testsuite/27_io/basic_istream/getline/wchar_t/4.cc: New.
* testsuite/27_io/basic_istream/getline/wchar_t/5.cc: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91348 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/docs')
-rw-r--r-- | libstdc++-v3/docs/html/ext/howto.html | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/libstdc++-v3/docs/html/ext/howto.html b/libstdc++-v3/docs/html/ext/howto.html index b35ba9ec081..fff775e165a 100644 --- a/libstdc++-v3/docs/html/ext/howto.html +++ b/libstdc++-v3/docs/html/ext/howto.html @@ -406,10 +406,16 @@ However, no specification is given what this constructor should do. </dd> + <dt><a href="lwg-defects.html#243">243</a>: + <em>get and getline when sentry reports failure</em> + </dt> + <dd>Store a null character only if the character array has a non-zero size. + </dd> + <dt><a href="lwg-defects.html#251">251</a>: <em>basic_stringbuf missing allocator_type</em> </dt> - <dd>This nested typdef was originally not specified. + <dd>This nested typedef was originally not specified. </dd> <dt><a href="lwg-defects.html#253">253</a>: |