class .sizeof

dsimcha dsimcha at yahoo.com
Wed Oct 28 10:55:45 PDT 2009


For making the GC precise, I need to be able to get at the size of a class
instance at compile time.  The .sizeof property returns the size of a
reference, i.e. (void*).sizeof.  I need the amount of bytes an instance uses.



More information about the Digitalmars-d mailing list