c++ spec question: if you derive a class, where does the new class start member placement in memory? http://pastebin.com/kR7gNfkR
@gunvulture @dmmfix I would be very surprised if it wasn't implementation specific, because even in C the compiler is allowed to pad.
-
-
@gunvulture
@dmmfix For example, if there are 64-bit members in a struct, it can pad to ensure alignment on at 64-bit boundary. -
New conversation -
-
-
@cmuratori@dmmfix you mean C can arbitrarily pad? -
@gunvulture
@cmuratori@dmmfix Yup. C has no firm spec for memory layout. Just a bunch of conventions.
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.