Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[basic.life] Lifetime of class objects is treated uniformly #2954

Merged
merged 1 commit into from Aug 7, 2019

Conversation

jensmaurer
Copy link
Member

@jensmaurer jensmaurer commented Jul 4, 2019

under CWG2256, regardless of triviality of the destructor.

Fixes #2953.

under CWG2256, regardless of triviality of the destructor.
@jensmaurer
Copy link
Member Author

@zygoloid, we no longer differentiate object lifetime according to the triviality of the destructor in [basic.life]. (If the destructor is trivial, p5 is vacuous anyway, because there are no side effects of the destructor execution.)

@zygoloid zygoloid merged commit 557cfa9 into cplusplus:master Aug 7, 2019
@jensmaurer jensmaurer deleted the c6 branch August 7, 2019 07:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[basic.life]/5 was overlooked during CWG2256 resolution?
2 participants