This page is a snapshot from the LWG issues list, see theLibrary Active Issues List for more information and the meaning ofTC1 status.
basic_filebuf::setbuf()Section: 31.10.3.5[filebuf.virtuals]Status:TC1Submitter: Greg Comeau, Dietmar KühlOpened: 1999-07-23Last modified: 2016-01-28
Priority:Not Prioritized
View all otherissues in [filebuf.virtuals].
View all issues withTC1 status.
Discussion:
In 31.10.3[filebuf] the functionsetbuf() gets anobject of typestreamsize as second argument. However, in31.10.3.5[filebuf.virtuals] paragraph 9 the second argument is of typeint.
As far as I can see this is not really a contradiction becauseeverything is consistent ifstreamsize is typedef to beint. However, this is almost certainly not what wasintended. The same thing happened tobasic_istream::ignore(),as described in issue172(i).
Proposed resolution:
In 31.10.3.5[filebuf.virtuals] paragraph 9, change all uses ofint in the description ofsetbuf() tostreamsize.