Title
Disallowing use of implicitly-deleted functions
Status
drafting
Section
9.5.2 [dcl.fct.def.default]
Submitter
Richard Smith

Created on 2014-02-11.00:00:00 last changed 119 months ago

Messages

Date: 2014-06-15.00:00:00

Notes from the June, 2014 meeting:

The approach favored by CWG was to make any reference to an explicitly-defaulted function ill-formed if it occurs prior to the end of the class definition.

Date: 2014-02-11.00:00:00

The resolution of issue 1778 means that whether an explicitly-defaulted function is deleted or not cannot be known until the end of the class definition. As a result, new rules are required to disallow references (in, e.g., decltype) to explicitly-defaulted functions that might later become deleted.

History
Date User Action Args
2014-07-07 00:00:00adminsetmessages: + msg5090
2014-07-07 00:00:00adminsetstatus: open -> drafting
2014-02-11 00:00:00admincreate