Introducing Nullable Reference Types in C#. Is there hope for D, too?
Patrick Schluter
Patrick.Schluter at bbox.fr
Sun Nov 19 15:49:21 UTC 2017
On Sunday, 19 November 2017 at 04:19:32 UTC, codephantom wrote:
> On Sunday, 19 November 2017 at 04:04:04 UTC, Walter Bright
> wrote:
>> I wish there was a null for int types. At least we sort of
>> have one for char types, 0xFF. And there's that lovely NaN for
>> floating point! Too bad it's woefully underused.
>
> "I wish there was a null for int types."
>
> +1000
Yes. The only value that can sometime be used as invalid value is
int.min.
More information about the Digitalmars-d
mailing list