[Issue 9636] null initialization for std.typecons.Nullable

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Oct 8 02:47:09 PDT 2014


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

--- Comment #5 from monarchdodra at gmail.com ---
The original request was the ability to write "myNullable = null". I said this
should be rejected, because "t = null" could actually be a "non-null
operation".

I suggested instead using a "null-token" as a "workaround", but, as JakobOvrum
states, "why all this?"

Is there something we actually *get* from this, or is it only sugar? If it's
only sugar, i suggest we close. How do we close an enhancement? Won't Fix?
Invalid?

--


More information about the Digitalmars-d-bugs mailing list