opSlice and foreach with ranges

Jesse Phillips jessekphillips+D at gmail.com
Thu Feb 17 13:49:02 PST 2011


Ali Çehreli Wrote:

> <quote>
> ... if the iterated object offers the slice operator with no arguments 
> lst[], __c is initialized with lst[] instead of lst. This is in order to 
> allow "extracting" the iteration means out of a container without 
> requiring the container to define the three iteration primitives.
> </quote>

Yeah I don't think it is implemented, file a bug.


More information about the Digitalmars-d-learn mailing list