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
The text was updated successfully, but these errors were encountered:
jensmaurer
changed the title
[over.class.match.deduct] CTAD for aggregates with designated initializers
CWG2680 [over.class.match.deduct] CTAD for aggregates with designated initializers
Jan 14, 2023
Full name of submitter (unless configured in github; will be published with the issue): Christof Meerwald
Reference (section label): over.class.match.deduct
Link to reflector thread (if any): CTAD for aggregates with designated initializers
Issue description: Examples like
and
result in unexpected deduced types as CTAD doesn't limit deduction to the aggregate deduction candidate when a designated initializer list is used.
Suggested resolution: see Re: CTAD for aggregates with designated initializers
also Re: CTAD for aggregates with designated initializers
The text was updated successfully, but these errors were encountered: