Getting a range over a const Container

Jonathan M Davis jmdavisProg at gmx.com
Wed Jul 18 21:44:26 PDT 2012


On Thursday, July 19, 2012 04:39:26 Francisco Soulignac wrote:
> So, my question is how can I (correctly) traverse a const SList,
> const DList, etc?

Right now? I'm pretty sure that that's impossible. Hopefully that will change, 
but getting const and ranges to work together can be rather difficult, and 
std.container needs more work in that regard.

- Jonathan M Davis


More information about the Digitalmars-d-learn mailing list