[Issue 17440] Nullable.nullify() resets referenced object

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jan 15 21:26:56 UTC 2018


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

--- Comment #10 from hsteoh at quickfur.ath.cx ---
P.S. Actually, Nullable does have another overload that takes a null value to
be used in lieu of a boolean flag.  So conceivably, you could use Nullable!(T,
null) instead of Nullable!T and you will have the requisite semantics.

--


More information about the Digitalmars-d-bugs mailing list