Confirming and uninstantiated struct

rikki cattermole via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Jan 23 05:59:46 PST 2017


> Structs are a value type and will always have a type that won't be null.
> If you want it to be nullable you will have to use pointers or classes
> (there is also Nullable in std.typecons but it won't work with is null).

s/have a type that won't be null/have a value that won't be null/

My bad.


More information about the Digitalmars-d-learn mailing list