underflow()
Section: 31.6.3.5.3 [streambuf.virt.get] Status: TC1 Submitter: Dietmar Kühl Opened: 1999-07-20 Last modified: 2016-01-28
Priority: Not Prioritized
View all issues with TC1 status.
Discussion:
The description of the meaning of the result of
showmanyc()
seems to be rather strange: It uses calls to
underflow()
. Using underflow()
is strange because
this function only reads the current character but does not extract
it, uflow()
would extract the current character. This should
be fixed to use sbumpc()
instead.
Proposed resolution:
Change 31.6.3.5.3 [streambuf.virt.get] paragraph 1,
showmanyc()
returns clause, by replacing the word
"supplied" with the words "extracted from the
stream".