Skip to content

[indirect.asgn], [polymorphic.asgn] Combine related bullets #7861

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jwakely
Copy link
Member

@jwakely jwakely commented May 1, 2025

The bullet talking about destroying the previously owned object is only applicable to the bullet immediately before it. The current structure makes it appear to be applicable to all three of the cases that are separated by "otherwise" and are mutually exclusive.

The bullet talking about destroying the previously owned object is only
applicable to the bullet immediately before it. The current structure
makes it appear to be applicable to all three of the cases that are
separated by "otherwise" and are mutually exclusive.
@jwakely jwakely marked this pull request as draft May 1, 2025 17:54
@jwakely
Copy link
Member Author

jwakely commented May 1, 2025

I've changed this to a draft because I've actually proposed a change that would make the current structure correct for move assignment operators, see https://cplusplus.github.io/LWG/issue4251

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.

1 participant