Getting byte size of POD classes and dynamic arrays

bearophile bearophileHUGS at lycos.com
Thu May 16 06:32:35 PDT 2013


Byron Heads:

> now I am wondering way a POD has a vtable.

In D global structs are PODs, while classe instances are are not 
PODs.

All classes have a vtable because they inherit some methods from 
the Object class.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list