On Monday, 6 August 2018 at 20:22:36 UTC, vit wrote:
On Monday, 6 August 2018 at 19:56:03 UTC, Steven Schveighoffer wrote:

BTW, is there a reason you aren't just using Algebraic?

https://dlang.org/phobos/std_variant.html#.Algebraic

-Steve

primarily visit for Algebraic isn't pure, @nogc, @safe, nothrow.

I wrote the 'sumtype' package to solve this exact problem:

https://code.dlang.org/packages/sumtype

Reply via email to