Created on 2020-03-13.00:00:00 last changed 12 months ago
Suggested resolution:
Change in 12.2.4.2.1 [over.best.ics.general] paragraph 4 as follows:
However, if the target isand the constructor ... is a candidate by
- ...
user-defined conversion sequences are not considered.
12.2.2.4 [over.match.ctor], when the argument is the temporary in the second step of a class copy-initialization,- 12.2.2.5 [over.match.copy], 12.2.2.6 [over.match.conv], or 12.2.2.7 [over.match.ref] (in all cases), or
- ...
(From editorial issue 3871.)
Subclause 12.2.4.2.1 [over.best.ics.general] paragraph 4 specifies:
However, if the target isand the constructor ... is a candidate by
- the first parameter of a constructor or
- ...
user-defined conversion sequences are not considered.
- 12.2.2.4 [over.match.ctor], when the argument is the temporary in the second step of a class copy-initialization,
- 12.2.2.5 [over.match.copy], 12.2.2.6 [over.match.conv], or 12.2.2.7 [over.match.ref] (in all cases), or
- ...
A temporary is no longer created in 9.4.1 [dcl.init.general] bullet 16.6.3 "for the remaining copy-initialization cases". Instead, that section directly branches to 12.2.2.5 [over.match.copy], which is covered by the fourth bullet above.
History | |||
---|---|---|---|
Date | User | Action | Args |
2023-11-23 22:05:41 | admin | set | messages: + msg7524 |
2020-03-13 00:00:00 | admin | create |