On Mon, 24 Sep 2012 13:30:29 +0100, bearophile <[email protected]> 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

R

--
Using Opera's revolutionary email client: http://www.opera.com/mail/

Reply via email to