Date: Tue, 26 Apr 2022 16:33:35 +0200
Hi,
While trying to find the current standardese for
https://stackoverflow.com/questions/41407540/why-does-the-c-standard-specifically-grant-leeway-regarding-memory-layout-of-c,
I tripped over the note in http://eel.is/c++draft/class.access#spec-3
which redirects to [expr.rel], which, however, doesn't seem to contain
anything pertinent to order of data members for different
access-specifiers, nor does [expr.ref], which may have been an easy typo
to make.
I guess my question is: where is the allocation of data members of
different access-specifiers defined these days?
Thanks,
Marc
While trying to find the current standardese for
https://stackoverflow.com/questions/41407540/why-does-the-c-standard-specifically-grant-leeway-regarding-memory-layout-of-c,
I tripped over the note in http://eel.is/c++draft/class.access#spec-3
which redirects to [expr.rel], which, however, doesn't seem to contain
anything pertinent to order of data members for different
access-specifiers, nor does [expr.ref], which may have been an easy typo
to make.
I guess my question is: where is the allocation of data members of
different access-specifiers defined these days?
Thanks,
Marc
Received on 2022-04-26 14:33:39