This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of CD1 status.
Section: 31.7.6.2.4 [ostream.sentry] Status: CD1 Submitter: Vincent Leloup Opened: 2003-11-18 Last modified: 2021-06-06
Priority: Not Prioritized
View all other issues in [ostream.sentry].
View all issues with CD1 status.
Discussion:
In section [ostream::sentry] paragraph 4, in description part basic_ostream<charT, traits>::sentry::operator bool() is declared as non const, but in section 27.6.2.3, in synopsis it is declared const.
Proposed resolution:
In section [ostream::sentry] paragraph 4, change the declaration
of sentry::operator bool()
to const.