Skip to content

Conversation

frederick-vs-ja
Copy link
Contributor

Fixes #6158.

@frederick-vs-ja
Copy link
Contributor Author

@jensmaurer P2996 clarified that there're member subobjects corresponding to non-static reference data members. Is it intended that [[no_unique_address]] also affects these objects? If so, the current approach of this PR is incorrect.

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.

[intro.object] The term "potentially-overlapping subobject" doesn't seem to exclude reference members
2 participants