442. sentry::operator bool() inconsistent signature

Section: [ostream.sentry] Status: CD1 Submitter: Vincent Leloup Opened: 2003-11-18 Last modified: 2021-06-06 18:38:24 UTC

Priority: Not Prioritized

View all other issues in [ostream.sentry].

View all issues with CD1 status.


In section [ostream::sentry] paragraph 4, in description part basic_ostream<charT, traits>::sentry::operator bool() is declared as non const, but in section, in synopsis it is declared const.

Proposed resolution:

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