Random D geekout

Steven Schveighoffer schveiguy at yahoo.com
Fri Apr 20 04:23:49 PDT 2012


On Fri, 20 Apr 2012 00:06:41 -0400, H. S. Teoh <hsteoh at quickfur.ath.cx>  
wrote:


> The only complaint is that I couldn't write auto[string] dgs and have
> the compiler auto-infer the delegate type. :-)

Does this not work?

auto dgs = ...

Also, it doesn't look like that needs to be in the inner loop.  Each time  
you specify an AA literal, it allocates a new one.  So you are allocating  
another AA literal per line.

-Steve


More information about the Digitalmars-d mailing list