On 8/11/13, JS <js.mdnq at 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);