c++ spec question: if you derive a class, where does the new class start member placement in memory? http://pastebin.com/kR7gNfkR
@gunvulture @dmmfix For example, if there are 64-bit members in a struct, it can pad to ensure alignment on at 64-bit boundary.
-
-
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@cmuratori@dmmfix right but if the two classes had members that would align naturally if just mashed together, would it mash them together? -
@cmuratori@dmmfix the question is if compilers treat the classes separately for natural alignment purposes, or together...
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.