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

Section: 30.7.4.1 [istream] Status: TC1 Submitter: Dietmar Kühl Opened: 1999-07-20 Last modified: 2016-02-10

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 30.7.4.1 [istream], 30.7.4.3 [istream.unformatted], paragraph 1, 30.7.5.1 [ostream], paragraph 3, and 30.7.5.2.1 [ostream.formatted.reqmts], paragraph 1, change "exception()" to "exceptions()".

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