Forbid dynamic arrays in boolean evaluation contexts

Timon Gehr timon.gehr at gmx.ch
Tue Mar 26 15:56:07 PDT 2013


On 03/26/2013 10:31 PM, Vladimir Panteleev wrote:
> On Tuesday, 26 March 2013 at 17:57:47 UTC, Steven Schveighoffer wrote:
>> But it definitely is NOT a bug.  Any suggested change would be an
>> enhancement request.
>
> Why do you think it is not a bug? It is inconsistent with "", and what's
> the point of [] if you can just use "null"?

IOW, what is the point of "null" if you can just use [].


More information about the Digitalmars-d mailing list