Hello, folks! Newbie to D, have some questions!

ketmar via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Feb 20 09:39:30 PST 2017


Ali Çehreli wrote:

> Correction: It's actually the 'auto attribute' in D with the 
> venerable responsibility of "The auto attribute is used when there 
> are no other attributes and type inference is desired." Good job, auto! :o)

  foreach (auto n; arr)

oops. good job, auto!


More information about the Digitalmars-d-learn mailing list