www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Getting range of const rbtree

I can't get the range of const RedBlackTree because opSlice is mutable:
http://dpaste.dzfl.pl/02fadc472eea
What is the best way to iterate over const collection of elements?

Thanks
Feb 26 2015