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 ce6e8c8
Browse filesBrowse the repository at this point in the historyBrowse files
Lifetime of temporaries in aggregate initialization [EDGcpfe/29057]
A temporary created in the initializer of an element of an aggregate was
destroyed at the end of that element's initialization, instead of when
the initialization of the whole aggregate is complete. Treat the
complete braced initialization of an aggregate as one full-expression,
including nested aggregate initializers and initializers resumed after
parsing was suspended.
Add regression tests, including members with nontrivial destructors and
exceptions thrown during and after the initialization.
gnu/cpp/cpp0x/initlist122, gnu/cpp/init/aggr7-eh and
gnu/cpp/init/array12 now pass.
0 commit comments