You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Standard conversions ([conv]) will be used, if necessary, to convert the initializer expression to the cv-unqualified version of the destination type; no user-defined conversions are considered.
As @zygoloid said, a sequence of standard conversions can potentially be arbitrarily long (temporary materialization -> lvalue-to-rvalue -> temporary ...).
We need some some rules to clarify and/or limit what standard conversions get used and how.
The text was updated successfully, but these errors were encountered:
The issue here is that it's unclear which conversion get used. It just says "standard conversions will be used, if necessary" which doesn't say anything ("just use standard conversions"). How many? Which one in which order?
Also, technically, because there are no restrictions, we could form a sequence of standard conversions through temp mat -> l-to-r -> temp mat -> ... (just an example).
[dcl.init]p17:
As @zygoloid said, a sequence of standard conversions can potentially be arbitrarily long (temporary materialization -> lvalue-to-rvalue -> temporary ...).
We need some some rules to clarify and/or limit what standard conversions get used and how.
The text was updated successfully, but these errors were encountered: