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

2024-10-26


2010. exception-specifications and conversion operators

Section: 14.5  [except.spec]     Status: CD4     Submitter: Richard Smith     Date: 2014-09-26

[Adopted at the October, 2015 meeting as P0012R1.]

It is not possible to provide an exception-specification for a conversion-type-id, which prevents the result from being used in assignment or initialization of a function pointer with a non-throwing exception-specification. This seems unnecessarily restrictive.

See also issues 1995, 1975, 1946, and 1798.

Additional note, May, 2015:

See also issue 92 and EWG issue 169.