get size of class instance (not reference)?

Nick Sabalausky SeeWebsiteToContactMe at semitwist.com
Mon Feb 25 16:37:29 PST 2013


These just give me the size of a *reference* to the class:

class Foo {...}
Foo.sizeof
typeid(Foo).tsize

How can I get the size of a non-subclassed *instance*?



More information about the Digitalmars-d-learn mailing list