Movatterモバイル変換


[0]ホーム

URL:



This page is a snapshot from the LWG issues list, see theLibrary Active Issues List for more information and the meaning ofTC1 status.

159. Strange use ofunderflow()

Section: 31.6.3.5.3[streambuf.virt.get]Status:TC1Submitter: Dietmar KühlOpened: 1999-07-20Last modified: 2016-01-28

Priority:Not Prioritized

View all issues withTC1 status.

Discussion:

The description of the meaning of the result ofshowmanyc() seems to be rather strange: It uses calls tounderflow(). Usingunderflow() is strange becausethis function only reads the current character but does not extractit,uflow() would extract the current character. This shouldbe fixed to usesbumpc() 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 thestream".


[8]ページ先頭

©2009-2026 Movatter.jp