Section: 31.5.2.2.1 [ios.failure] Status: CD1 Submitter: Walter Brown and Marc Paterno Opened: 2002-05-20 Last modified: 2021-06-06
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.