get size of class instance (not reference)?

Nick Sabalausky SeeWebsiteToContactMe at semitwist.com
Mon Feb 25 17:09:05 PST 2013


On Tue, 26 Feb 2013 01:54:44 +0100
"bearophile" <bearophileHUGS at lycos.com> wrote:

> Nick Sabalausky:
> 
> > How can I get the size of a non-subclassed *instance*?
> 
> Is this enough?
> 
> http://dlang.org/traits.html#classInstanceSize
> 

Ahh, yes, of course. I had a feeling I was overlooking something
obvious. Thanks.



More information about the Digitalmars-d-learn mailing list