48. Use of non-existent exception constructor

Section: 30.5.3.1.1 [ios::failure] Status: TC1 Submitter: Matt Austern Opened: 1998-06-21 Last modified: 2016-02-10

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 30.5.3.1.1 [ios::failure], paragraph 2, with

EFFECTS: Constructs an object of class failure.