Getting byte size of POD classes and dynamic arrays

Byron Heads byron.heads at gmail.com
Thu May 16 06:44:59 PDT 2013


On Thu, 16 May 2013 15:32:35 +0200, bearophile wrote:

> 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

Thanks, I will just block them since they are unsafe for a database.


More information about the Digitalmars-d-learn mailing list