SumType in Phobos?

Per Nordlöw per.nordlow at gmail.com
Fri Feb 21 08:49:35 UTC 2020


On Thursday, 20 February 2020 at 18:23:45 UTC, Paul Backus wrote:
> In the `else` branch of the `static if` statement, if `T` has 
> both a copy constructor and a destructor, the copy constructor 
> is skipped but the destructor will still be called.

I see. Thanks. I'll consider removing the template flag 
`memoryPacked`.


More information about the Digitalmars-d mailing list