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

2024-04-18


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.