to auto or not to auto ( in foreach )
ketmar via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sat Jul 16 19:18:37 PDT 2016
On Sunday, 17 July 2016 at 02:04:50 UTC, Adam D. Ruppe wrote:
> (x) => x; // defines a new variable
> foreach isn't alone.
compiler should allow `auto` here too.
More information about the Digitalmars-d-learn
mailing list