This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 116a. See http://www.open-std.org/jtc1/sc22/wg21/ for the official list.
2024-12-19
[Voted into the WP at the November, 2010 meeting.]
N3092 comment GB 39The note in 11.4.7 [class.dtor] paragraph 4 says,
An explictly defaulted definition has no implicit exception-specification.
There are similar notes in 11.4.5.3 [class.copy.ctor] paragraphs 15 and 29.
However, 9.5.2 [dcl.fct.def.default] bullet 2.4 says that a special member function that is explicitly defaulted on its first declaration
is implicitly considered to have the same exception-specification as if it had been implicitly declared (14.5 [except.spec])
The notes are incorrect.
Proposed resolution (August, 2010):
Change 11.4.7 [class.dtor] paragraph 4 as follows:
[Note: an implicitly- declared destructor has an exception-specification (15.4).An explictly defaulted definition has no implicit exception-specification.—end note]
Change 11.4.5.3 [class.copy.ctor] paragraph 15 as follows:
[Note: an implicitly-declared copy/move constructor has an exception-specification (15.4).An explicitly-defaulted definition (8.4.2) has no implicit exception-specification.—end note]
Change 11.4.5.3 [class.copy.ctor] paragraph 29 as follows:
[Note: An implicitly-declared copy/move assignment operator has an exception- specification (15.4).An explicitly-defaulted definition has no implicit exception-specification.—end note]