Forbid dynamic arrays in boolean evaluation contexts

Jonathan M Davis jmdavisProg at gmx.com
Tue Mar 26 10:32:02 PDT 2013


On Tuesday, March 26, 2013 12:24:56 Vladimir Panteleev wrote:
> [] (the literal) has .ptr as null. That may or may not be a bug.

As I understand it, it's very much on purpose. It avoids a needless memory 
allocation.

- Jonathan M Davis


More information about the Digitalmars-d mailing list