Title
Unclear specification for overload resolution and deleted special member functions
Status
cd5
Section
12.2.2 [over.match.funcs]
Submitter
Howard Hinnant

Created on 2016-07-21.00:00:00 last changed 48 months ago

Messages

Date: 2017-07-15.00:00:00

[Voted into the WP at the July, 2017 meeting.]

Date: 2017-04-15.00:00:00

Proposed resolution (April, 2017):

Change 12.2.2 [over.match.funcs] paragraph 8 as follows:

A defaulted move constructor or assignment operator special function (11.4.5.3 [class.copy.ctor]) that is defined as deleted is excluded from the set of candidate functions in all contexts.
Date: 2022-02-18.07:47:23

According to 12.2.2 [over.match.funcs] paragraph 8,

A defaulted move constructor or assignment operator (11.4.5.3 [class.copy.ctor]) that is defined as deleted is excluded from the set of candidate functions in all contexts.

It is unclear whether this is intended to apply to all defaulted assignment operators or only move assignment operators.

History
Date User Action Args
2020-12-15 00:00:00adminsetstatus: drwp -> cd5
2018-02-27 00:00:00adminsetmessages: + msg6145
2018-02-27 00:00:00adminsetmessages: + msg6144
2016-07-21 00:00:00admincreate