This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 113d. See http://www.open-std.org/jtc1/sc22/wg21/ for the official list.

2024-03-20


1267. Rvalue reference types in exception-specifications

Section: 14.5  [except.spec]     Status: CD3     Submitter: Michael Wong     Date: 2011-03-21

[Moved to DR at the October, 2012 meeting.]

The types that may appear in an exception-specification (14.5 [except.spec] paragraph 2) include rvalue reference types, although they are excluded as handler types (14.4 [except.handle] paragraph 1) . This appears to have been an oversight.

Proposed resolution (February, 2012):

Change 14.5 [except.spec] paragraph 2 as follows:

...A type denoted in an exception-specification shall not denote an incomplete type or an rvalue reference type. A type denoted in an exception-specification shall not denote a pointer or reference...