Difficulties with std.variant.Algebraic

Meta jared771 at gmail.com
Thu Jul 11 10:11:04 PDT 2013


On Thursday, 11 July 2013 at 16:48:00 UTC, bearophile wrote:
> Meta:
>
>> Nullable will work in this case, but it doesn't solve the 
>> general problem with Algebraic.
>
> Then is this an acceptable solution?
> ...

That is a bit better, yes. Still somewhat clunky, but workable. 
It'd still be nice if it wasn't necessary. Why does it break when 
I use Some!int instead of just a bare int?


More information about the Digitalmars-d-learn mailing list