Re: stl skipping algorithms



Super Giraffe wrote:

So, I can use a custom iterator adaptor?

I think Igor had his tongue in his cheek. If you're going to need to do this for more than one iterator type, write an algorithm. It's only half a dozen lines of code. Much simpler than writing an iterator adaptor.

--

Pete Becker
Roundhouse Consulting, Ltd.
.