Is std.variant.visit not @nogc?
helxi
brucewayneshit at gmail.com
Tue Apr 10 00:22:18 UTC 2018
On Monday, 9 April 2018 at 15:59:32 UTC, Paul Backus wrote:
> On Monday, 9 April 2018 at 07:07:58 UTC, Chris Katko wrote:
>> [...]
>
> I agree in general, but in this case it's actually completely
> doable. In fact, I've done it myself: check out 'sumtype' on
> code.dlang.org. You can replace 'Algebraic' with 'SumType' and
> 'visit' with 'match' in helxi's example, and everything Just
> Works™:
>
> [...]
This isn't boxed by any chance, is it?
More information about the Digitalmars-d-learn
mailing list