Why does filter return const?

Edwin van Leeuwen edder at tkwsping.nl
Thu Apr 10 03:30:17 PDT 2014


I'd like to filter a range and then change the filtered results, 
but FilterResult returns a const. Is there any (straightforward) 
way of doing what I want?

I guess I could create duplicates, but I would like my changes 
also to be reflected in the original range.

Cheers, Edwin


More information about the Digitalmars-d-learn mailing list