Movatterモバイル変換


[0]ホーム

URL:



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

442. sentry::operator bool() inconsistent signature

Section: 31.7.6.2.4[ostream.sentry]Status:CD1Submitter: Vincent LeloupOpened: 2003-11-18Last modified: 2021-06-06

Priority:Not Prioritized

View all otherissues in [ostream.sentry].

View all issues withCD1 status.

Discussion:

In section [ostream::sentry] paragraph 4, in description partbasic_ostream<charT, traits>::sentry::operator bool() is declaredas non const, but in section 27.6.2.3, in synopsis it is declaredconst.

Proposed resolution:

In section [ostream::sentry] paragraph 4, change the declarationofsentry::operator bool() to const.


[8]ページ先頭

©2009-2026 Movatter.jp