c++ spec question: if you derive a class, where does the new class start member placement in memory? http://pastebin.com/kR7gNfkR
-
-
This Tweet is unavailable.
-
Replying to @tweets_dan
@gunvulture
@dmmfix I would be very surprised if it wasn't implementation specific, because even in C the compiler is allowed to pad.2 replies 0 retweets 0 likes -
Replying to @cmuratori
@cmuratori@dmmfix you mean C can arbitrarily pad?3 replies 0 retweets 0 likes
Replying to @tweets_dan
@gunvulture @dmmfix Yes. Without #pragma pack, the C compiler can do whatever the fuck it wants as long as the members appear in order.
3:56 PM - 2 Sep 2013
0 replies
0 retweets
0 likes
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.