pass by value && elide dtor + post-blit

Xiaoxi via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Jun 20 14:09:30 PDT 2015


When passing a struct by value:

Is there any way to trick the compiler to elide unnecessary 
post-blit & dtor pair?

Maybe using an union, somehow?



More information about the Digitalmars-d-learn mailing list