Forbid dynamic arrays in boolean evaluation contexts

H. S. Teoh hsteoh at quickfur.ath.cx
Mon Mar 25 10:38:34 PDT 2013


On Mon, Mar 25, 2013 at 06:34:23PM +0100, Phil Lavoie wrote:
[...]
> Still comparing against null, since it has a different meaning,
> maybe null means not found and empty means found but without value.

If you want to make this distinction, use std.typecons.Nullable.


T

-- 
Obviously, some things aren't very obvious.


More information about the Digitalmars-d mailing list