[Issue 14477] Nullable does not work with structs with default constructor disabled
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Nov 10 14:05:03 UTC 2017
https://issues.dlang.org/show_bug.cgi?id=14477
--- Comment #4 from MichaelZ <dlang.org at bregalad.de> ---
(In reply to MichaelZ from comment #3)
> This is currently an issue for us, and it has been proposed we use
> Algebraic!Foo instead, which appears to work sufficiently, see below.
>
> What aspects are against doing it this way?
More than a year of working around the issue in various ways, I looked at the
Algebraic thing again: One disadvantage of Algebraic is that it doesn't have
the same magical implicit .get behaviour as Nullable does :-|
--
More information about the Digitalmars-d-bugs
mailing list