Skip to content

[basic.life] Remove description of impossible UB CWG2523 #2342

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

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions source/basic.tex
Original file line number Diff line number Diff line change
Expand Up @@ -2891,8 +2891,7 @@
occupies is reused or released; however, if there is no explicit call to
the destructor or if a \grammarterm{delete-expression}\iref{expr.delete}
is not used to release the storage, the destructor shall not be
implicitly called and any program that depends on the side effects
produced by the destructor has undefined behavior.
implicitly called.

\pnum
Before the lifetime of an object has started but after the storage which
Expand Down