istream.tcc (getline(basic_string<>&)): Fix error in comment of the previous commit.
2003-11-22 Paolo Carlini <pcarlini@suse.de> * include/bits/istream.tcc (getline(basic_string<>&)): Fix error in comment of the previous commit. From-SVN: r73836
This commit is contained in:
parent
1a311979dd
commit
a3b1b80447
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2003-11-22 Paolo Carlini <pcarlini@suse.de>
|
||||||
|
|
||||||
|
* include/bits/istream.tcc (getline(basic_string<>&)):
|
||||||
|
Fix error in comment of the previous commit.
|
||||||
|
|
||||||
2003-11-22 Paolo Carlini <pcarlini@suse.de>
|
2003-11-22 Paolo Carlini <pcarlini@suse.de>
|
||||||
|
|
||||||
PR libstdc++/12593
|
PR libstdc++/12593
|
||||||
|
|
|
@ -1193,7 +1193,7 @@ namespace std
|
||||||
// _GLIBCXX_RESOLVE_LIB_DEFECTS
|
// _GLIBCXX_RESOLVE_LIB_DEFECTS
|
||||||
// 91. Description of operator>> and getline() for string<>
|
// 91. Description of operator>> and getline() for string<>
|
||||||
// might cause endless loop
|
// might cause endless loop
|
||||||
// 27.6.1.2.1 Common requirements.
|
// 27.6.1.3 paragraph 1.
|
||||||
// Turn this on without causing an ios::failure to be thrown.
|
// Turn this on without causing an ios::failure to be thrown.
|
||||||
__in.setstate(ios_base::badbit);
|
__in.setstate(ios_base::badbit);
|
||||||
if ((__in.exceptions() & ios_base::badbit) != 0)
|
if ((__in.exceptions() & ios_base::badbit) != 0)
|
||||||
|
|
Loading…
Add table
Reference in a new issue