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


1327. virt-specifier in a defaulted definition

Section: 9.5.2  [dcl.fct.def.default]     Status: CD3     Submitter: Ryou Ezoe     Date: 2011-05-29

[Voted into the WP at the February, 2012 meeting; moved to DR at the October, 2012 meeting.]

The grammar for defaulted and deleted functions in 9.5.2 [dcl.fct.def.default] and 9.5.3 [dcl.fct.def.delete] does not provide for virt-specifiers. Is there a reason for this omission, or was it inadvertent?

Proposed resolution (August, 2011):

  1. Change 9.5.2 [dcl.fct.def.default] paragraph 1 as follows:

  2. A function definition of the form:

    is called an explicitly-defaulted definition...

  3. Change 9.5.3 [dcl.fct.def.delete] paragraph 1 as follows:

  4. A function definition of the form:

    is called a deleted definition...