On Wed, 07 May 2014 10:44:55 -0400, Yuriy <yuriy.gluk...@gmail.com> wrote:

Hello, is there a way of reducing size of an empty class to just vtbl? I tried to declare it as extern(C++) which works, but has a nasty side effect of limited mangling.

The de-facto minimum size of a class is 16 bytes, due to the minimum block size of the heap.

8 bytes vtbl pointer on 64-bit systems would still allocate into 16-byte blocks.

-Steve

Reply via email to