https://issues.dlang.org/show_bug.cgi?id=14804

Luís Marques <l...@luismarques.eu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |l...@luismarques.eu

--- Comment #4 from Luís Marques <l...@luismarques.eu> ---
I've also stumbled on this limitation, but the behavior I was looking forward
to was:

    Nullable!int a;
    Nullable!int b;
    assert(a == b);

    Nullable!int c;
    Nullable!int d = 42;
    assert(c != d);

Since I can see the benefit of using Nullable in these different ways, that
probably means this should be a template parameter.

--

Reply via email to