Title
Correspondence of surrogate call function and conversion function
Status
c++23
Section
12.4.4 [over.call]
Submitter
CA

Created on 2022-11-03.00:00:00 last changed 17 months ago

Messages

Date: 2022-11-08.20:21:10

Proposed resolution (approved by CWG 2022-11-08):

Change in 12.4.4 [over.call] paragraph 1 as follows:

If a surrogate call function for a conversion function named operator conversion-type-id is selected, let e be the result of invoking the corresponding conversion operator function on the postfix-expression; is invoked the expression is interpreted as
postfix-expression . operator conversion-type-id () e ( expression-listopt )
Otherwise, ...
Date: 2022-11-27.21:00:25
P2720R0 comment CA 063

[Accepted as a DR at the November, 2022 meeting.]

Post-Prague "editorial" change cplusplus/draft#3625 removed the normative text supporting the interpretation that surrogate call functions, when chosen, call the functions they were formed from.

History
Date User Action Args
2023-07-16 13:00:43adminsetstatus: open -> c++23
2023-07-16 13:00:43adminsetstatus: drwp -> open
2023-02-18 18:43:04adminsetstatus: dr -> drwp
2022-11-25 05:14:04adminsetstatus: nb -> dr
2022-11-08 20:21:10adminsetstatus: open -> nb
2022-11-08 20:21:10adminsetstatus: open -> open
2022-11-08 20:21:10adminsetstatus: open -> open
2022-11-08 20:21:10adminsetstatus: open -> open
2022-11-08 20:21:10adminsetmessages: + msg6986
2022-11-08 13:26:04adminsetstatus: nb -> open
2022-11-08 13:26:04adminsetstatus: nb -> nb
2022-11-08 13:26:04adminsetstatus: nb -> nb
2022-11-03 00:00:00admincreate