With this code: class A { } pragma(msg, __traits(classInstanceSize, A));
I get the output 8 (32-bit). I can account for the first thing a vtable. But that should only cover 4bytes. What's in the other 4bytes?
With this code: class A { } pragma(msg, __traits(classInstanceSize, A));
I get the output 8 (32-bit). I can account for the first thing a vtable. But that should only cover 4bytes. What's in the other 4bytes?