Forbid dynamic arrays in boolean evaluation contexts

bearophile bearophileHUGS at lycos.com
Mon Mar 25 07:20:26 PDT 2013


Andrea Fontana:

> why not a.length == 0 ?

a.length == 0 is OK of course, it's the same thing as writing 
a.empty.

Bye,
bearophile


More information about the Digitalmars-d mailing list