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

363. Missing exception specification in

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

Priority: Not Prioritized

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

View all issues with CD1 status.


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();


Fixes an obvious glitch. This is almost editorial.