If you want to go kind of hacky, you may be able to abuse "const_cast" to create a const iterator out of a non-const one.
Michael Goldshteyn
2010-10-31 17:46:28
If you want to go kind of hacky, you may be able to abuse "const_cast" to create a const iterator out of a non-const one.