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

2024-11-11


1217. Are deleted functions implicitly noexcept?

Section: 9.5.3  [dcl.fct.def.delete]     Status: NAD     Submitter: Daniel Krügler     Date: 2010-11-10

It would seem intuitively that a deleted function cannot throw an exception, but 9.5.3 [dcl.fct.def.delete] does not mention that. This could conceivably be useful in SFINAE contexts.

Rationale (November, 2010):

Any reference to a deleted function is ill-formed, so it doesn't really matter whether they are noexcept or not.