On 8/11/13, JS <[email protected]> wrote: > Given an object, is there a built in way to get the size of the > class the object represents?
Try: import core.memory; auto size = GC.sizeOf(object);
On 8/11/13, JS <[email protected]> wrote: > Given an object, is there a built in way to get the size of the > class the object represents?
Try: import core.memory; auto size = GC.sizeOf(object);