Failure due to memcpy being called at compile time

Paul Backus snarwin at gmail.com
Tue Jun 21 13:05:35 UTC 2022


On Tuesday, 21 June 2022 at 04:30:25 UTC, JG wrote:
> On Tuesday, 21 June 2022 at 01:39:43 UTC, Paul Backus wrote:
>> Update: a new release of [the `sumtype` package on 
>> code.dlang.org][1] is available that includes the fix for this 
>> bug.
>>
>> `std.sumtype` will be fixed in the next Phobos release, 
>> 2.100.1.
>>
>> [1]: https://code.dlang.org/packages/sumtype
>
> That is great. Is this a work around the CFE bug?

Yes, it's a workaround to avoid calling memcpy in CTFE.


More information about the Digitalmars-d-learn mailing list