D vs. placement new (for classes) aka why D needs .sizeof and .alignof for classes (values not references)

Frank Benoit (keinfarbton) benoit at tionex.removethispart.de
Thu Apr 12 17:24:02 PDT 2007


> Which you know, and does as you say.  But then there is:
> obj.classinfo.init.sizeof
> 
> Which will render the actual size of class instances.  :)

no, it doesn't :)



More information about the Digitalmars-d mailing list