public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: libstdc++/10444: ifstream.peek() can remove a character from the input file stream
@ 2003-04-20 18:26 Paolo Carlini
0 siblings, 0 replies; only message in thread
From: Paolo Carlini @ 2003-04-20 18:26 UTC (permalink / raw)
To: paolo; +Cc: gcc-prs
The following reply was made to PR libstdc++/10444; it has been noted by GNATS.
From: Paolo Carlini <pcarlini@unitus.it>
To: gcc-gnats@gcc.gnu.org, gcc-bugs@gcc.gnu.org, paolo@gcc.gnu.org,
gcc-prs@gcc.gnu.org, loren.williams@lycos.com
Cc:
Subject: Re: libstdc++/10444: ifstream.peek() can remove a character from
the input file stream
Date: Sun, 20 Apr 2003 20:24:59 +0200
Forgot to add: you can obtain the behavior you expected by default from
operator>>(char&) by using the noskipws flag/manipulator (e.g.,
#include <iomanip> ... infile >> noskipws >> c)
Paolo.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10444
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-04-20 18:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-20 18:26 libstdc++/10444: ifstream.peek() can remove a character from the input file stream Paolo Carlini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).