Title
virt-specifier in a defaulted definition
Status
cd3
Section
9.5.2 [dcl.fct.def.default]
Submitter
Ryou Ezoe

Created on 2011-05-29.00:00:00 last changed 90 months ago

Messages

Date: 2012-02-15.00:00:00

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

Date: 2011-08-15.00:00:00

Proposed resolution (August, 2011):

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

  2. A function definition of the form:

      attribute-specifier-seqopt decl-specifier-seqopt declarator virt-specifier-seqopt = default ;

    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:

      attribute-specifier-seqopt decl-specifier-seqopt declarator virt-specifier-seqopt = delete ;

    is called a deleted definition...

Date: 2012-09-24.00:00:00

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?

History
Date User Action Args
2014-03-03 00:00:00adminsetstatus: drwp -> cd3
2012-11-03 00:00:00adminsetstatus: dr -> drwp
2012-09-24 00:00:00adminsetmessages: + msg4004
2012-02-27 00:00:00adminsetmessages: + msg3821
2012-02-27 00:00:00adminsetstatus: ready -> dr
2011-05-29 00:00:00admincreate