363. Missing exception specification in 27.4.2.1.1

Section: 30.5.3.1.1 [ios::failure] Status: CD1 Submitter: Walter Brown and Marc Paterno Opened: 2002-05-20 Last modified: 2016-02-10

Priority: Not Prioritized

View all other issues in [ios::failure].

View all issues with CD1 status.

Discussion:

The destructor of ios_base::failure should have an empty throw specification, because the destructor of its base class, exception, is declared in this way.

Proposed resolution:

Change the destructor to

  virtual ~failure() throw();

Rationale:

Fixes an obvious glitch. This is almost editorial.