D vs. placement new (for classes) aka why D needs .sizeof and
Dan
murpsoft at hotmail.com
Tue Apr 17 13:38:12 PDT 2007
Lars Ivar Igesund Wrote:
> http://d.puremagic.com/issues/show_bug.cgi?id=1023
Ooo.. nifty. A link!
If indeed we enumerated the properties in the same way that we enumerated variadic arguments in a function, then we could very reasonably write our own interface checking for structs, and someone could release a template that performed checking quite readily; with debug{} else{} thrown into the template, it could do very well indeed!
Sincerely,
Dan
More information about the Digitalmars-d
mailing list