Section: 18.104.22.168 [istream.unformatted] Status: TC1 Submitter: Greg Comeau, Dietmar Kühl Opened: 1999-07-23 Last modified: 2016-01-28 10:19:27 UTC
Priority: Not Prioritized
View all other issues in [istream.unformatted].
View all issues with TC1 status.
In 22.214.171.124 [istream] the function ignore() gets an object of type streamsize as first argument. However, in 126.96.36.199 [istream.unformatted] paragraph 23 the first argument is of type int.
As far as I can see this is not really a contradiction because everything is consistent if streamsize is typedef to be int. However, this is almost certainly not what was intended. The same thing happened to basic_filebuf::setbuf(), as described in issue 173.
Darin Adler also submitted this issue, commenting: Either 188.8.131.52 should be modified to show a first parameter of type int, or 184.108.40.206 should be modified to show a first parameter of type streamsize and use numeric_limits<streamsize>::max.
In 220.127.116.11 [istream.unformatted] paragraph 23 and 24, change both uses of int in the description of ignore() to streamsize.