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

Section: 17.9.4 [bad.exception] Status: CD1 Submitter: Martin Sebor Opened: 2000-09-24 Last modified: 2016-01-28 10:19:27 UTC

Priority: Not Prioritized

View all issues with CD1 status.


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 ( [bad.alloc]), bad_cast (17.7.4 [bad.cast]), bad_typeid (17.7.5 [bad.typeid]), and bad_exception (17.9.4 [bad.exception]).


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.