Is [] mandatory for array operations?

Kagamin spam at here.lot
Fri May 7 10:18:04 PDT 2010


Michel Fortin Wrote:

> There is some elegance to that solution since it chooses the right 
> solution for the problem at hand. If you assign the result to a 
> temporary array as above, it's probably because you'll need it 
> somewhere else and thus you really need to keep the temporary around. 
> If you don't don't use a temporary variable, you'll automatically 
> benefit from array ops.
> 
D's own angle brackets :)


More information about the Digitalmars-d mailing list