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

160. Typo: Use of non-existing function exception()

Section: 31.7.5.2 [istream] Status: TC1 Submitter: Dietmar Kühl Opened: 1999-07-20 Last modified: 2016-01-28

Priority: Not Prioritized

View all other issues in [istream].

View all issues with TC1 status.

Discussion:

The paragraph 4 refers to the function exception() which is not defined. Probably, the referred function is basic_ios<>::exceptions().

Proposed resolution:

In 31.7.5.2 [istream], 31.7.5.4 [istream.unformatted], paragraph 1, 31.7.6.2 [ostream], paragraph 3, and 31.7.6.3.1 [ostream.formatted.reqmts], paragraph 1, change "exception()" to "exceptions()".

[Note to Editor: "exceptions" with an "s" is the correct spelling.]