On 8/11/13, JS <js.m...@gmail.com> 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 <js.m...@gmail.com> 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);