Option!T

JR zorael at gmail.com
Tue Dec 10 09:40:12 PST 2013


On Tuesday, 10 December 2013 at 17:28:26 UTC, Andrei Alexandrescu 
wrote:
> We have only(x) (http://dlang.org/phobos/std_range.html#.only) 
> to be a collection of exactly one value, but not a type for "a 
> value of type T or nothing at all".

Is this not what Nullable!T is?


More information about the Digitalmars-d mailing list