Finding the allocated size of a class?

Christian Kamm kamm.incasoftware at shift-at-left-and-remove-this.de
Sun Nov 11 02:39:19 PST 2007


> Does anyone know how to get the allocated size of a class without
> instantiating it?

The comments page on classes suggests:

obj.classinfo.init.length
or 
Class.classinfo.init.length

I didn't try it though.

Christian


More information about the Digitalmars-d-learn mailing list