Skip to content

Conversation

@Axel-Naumann
Copy link
Member

The original ref does not define the layout (anymore?), thanks to Jens for providing me with the correct ref!

@tkoeppe
Copy link
Contributor

tkoeppe commented Jan 27, 2025

Where exactly is "standard layout" defined in expr.rel?

@jensmaurer
Copy link
Member

jensmaurer commented Jan 27, 2025

It's not. This should not replace the cross-reference to class.mem, but change it to class.mem.general and expr.rel. The latter specifies that data members are laid out in source code order.

@Axel-Naumann
Copy link
Member Author

Ah thanks, I misunderstood Jens's suggestion - this makes perfect sense. Please let me know if the current version is acceptable.

@tkoeppe tkoeppe merged commit 5eab5c6 into cplusplus:main Feb 10, 2025
2 checks passed
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.

3 participants