Is Nullable supposed to provide Optional semantics?

Chris Paulson-Ellis chris at edesix.com
Fri Dec 29 21:43:25 UTC 2017


On Friday, 29 December 2017 at 21:34:27 UTC, vit wrote:
> use:
>    n = Nullable!Object.init;   //doesn't call destroy
>
> instead of:
>    n.nullify();

Only nullify() can make isNull return true again. I need that 
semantic.


More information about the Digitalmars-d-learn mailing list