Topic: Defect Report: basic_istream::ignore first parameter is inconsistent
Author: "Darin Adler" <darin@bentspoon.com>
Date: 1999/08/13 Raw View
In section 27.6.1.3 [lib.istream.unformatted], the ignore function is
described as taking a first parameter of type int and there's a reference to
special handling of numeric_limits<int>::max().
In section 27.6.1.1 [lib.istream], the summary of the basic_istream template
shows ignore as a function taking a first parameter of type streamsize.
Either 27.6.1.1 should be modified to show a first parameter of type int, or
27.6.1.3 should be modified to show a first parameter of type streamsize and
use numeric_limits<streamsize>::max.
-- Darin
[ moderator's note: forwarded to C++ committee for resolution. -sdc ]
[ comp.std.c++ is moderated. To submit articles, try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
[ --- Please see the FAQ before posting. --- ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html ]