Quote Originally Posted by laserlight View Post
Yes, since iterators follow pointer semantics.

Incidentally, have you considered using std::for_each or some other appropriate generic algorithm?
I considered it, but my C++ reference made it look like more trouble than it was worth. I'll take a look at it again when I get a chance. Does it result in fewer characters type into my source code?