References in D
Simen Kjaeraas
simen.kjaras at gmail.com
Mon Sep 24 13:31:50 PDT 2012
On Mon, 24 Sep 2012 14:38:56 +0200, Regan Heath <regan at netmail.co.nz>
wrote:
> On Mon, 24 Sep 2012 13:30:29 +0100, bearophile
> <bearophileHUGS at lycos.com> wrote:
>
>> Regan Heath:
>>
>>> In fact, I am often annoyed that 'int' doesn't have an equivalent
>>> value, and instead I have to invent a magic number and ensure it's
>>> never a possible valid value.
>>
>> Try to start using Nullable of Phobos:
>>
>> http://dlang.org/phobos/std_typecons.html#Nullable
>
> In C? :p
Worth a try. :p
--
Simen
More information about the Digitalmars-d
mailing list