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.

48. Use of non-existent exception constructor

Section: 31.5.2.2.1 [ios.failure] Status: TC1 Submitter: Matt Austern Opened: 1998-06-21 Last modified: 2021-06-06

Priority: Not Prioritized

View all other issues in [ios.failure].

View all issues with TC1 status.

Discussion:

27.4.2.1.1, paragraph 2, says that class failure initializes the base class, exception, with exception(msg). Class exception (see 18.6.1) has no such constructor.

Proposed resolution:

Replace [ios::failure], paragraph 2, with

EFFECTS: Constructs an object of class failure.