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
{{ message }}
Repository navigation
Commit 69d1f4f
Browse filesBrowse the repository at this point in the historyBrowse files
Bind an NSDMI's implicit this to the constructed object in a constructor init [GH #324]
When a default member initializer that aggregate-initializes another
object of the same class was used by a constructor, lower_param_ref
searched every aggregate on aggregate_this_stack, including the ones
skipped because one of their explicit elements was being lowered, before
it tried the "this" parameter of the constructor init:
struct Y { unsigned k = 7; unsigned n = Y{2, k}.n; };
struct D : Y { D() {} }; // D().n was 2, not 7.
The "this" parameter of the constructor init is now used before the
skipped aggregates are searched.
0 commit comments