How to iterate using foreach on a class?

John Colvin john.loughran.colvin at gmail.com
Fri Nov 1 05:43:11 PDT 2013


On Friday, 1 November 2013 at 12:37:20 UTC, simendsjo wrote:
> 2) opSlice
> 3) alias this

arguably these are the same in the context of the foreach loop. 
Both just provide direct access to the underlying array.


More information about the Digitalmars-d-learn mailing list