266. bad_exception::~bad_exception() missing Effects clause

Section: 21.8.3 [bad.exception] Status: CD1 Submitter: Martin Sebor Opened: 2000-09-24 Last modified: 2016-02-10

Priority: Not Prioritized

View all issues with CD1 status.

Discussion:

The synopsis for std::bad_exception lists the function ~bad_exception() but there is no description of what the function does (the Effects clause is missing).

Proposed resolution:

Remove the destructor from the class synopses of bad_alloc (21.6.3.1 [bad.alloc]), bad_cast (21.7.3 [bad.cast]), bad_typeid (21.7.4 [bad.typeid]), and bad_exception (21.8.3 [bad.exception]).

Rationale:

This is a general problem with the exception classes in clause 18. The proposed resolution is to remove the destructors from the class synopses, rather than to document the destructors' behavior, because removing them is more consistent with how exception classes are described in clause 19.