libstdc++/8637: istream& get (char* s, streamsize n, char delim ) does not work
paolo@gcc.gnu.org
paolo@gcc.gnu.org
Wed Nov 20 13:46:00 GMT 2002
Synopsis: istream& get (char* s, streamsize n, char delim ) does not work
Responsible-Changed-From-To: unassigned->paolo
Responsible-Changed-By: paolo
Responsible-Changed-When: Wed Nov 20 12:42:27 2002
Responsible-Changed-Why:
Analyzed.
State-Changed-From-To: open->closed
State-Changed-By: paolo
State-Changed-When: Wed Nov 20 12:42:27 2002
State-Changed-Why:
Not a bug, but ISO standard behaviour: see 27.6.1.3,7 or
Josuttis p. 608 for a start.
(in particular, notice that the first parameter of
istream::get is a char* not a char!)
Iostreams have been completely rewritten for 3.x and are
now much more conformant.
Thanks for your report, Paolo.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8637
More information about the Gcc-bugs
mailing list