29 Aug
2010
29 Aug
'10
4:53 p.m.
On Sun, Aug 29, 2010 at 4:34 AM, Mathias Gaunard
So, at the end of this long message, what do I propose to solve the original problem?
Have your container provide a step-generator. You can then implement your iterator on top of it, or not, your choice (but I'd recommend using it to avoid unnecessary code duplication and maintenance).
I don't understand your suggestion . To make your proposal understandable, could you please illustrate, in code, what a step-generator would look like for std::deque, and how it could be used? -- Dave Abrahams BoostPro Computing http://www.boostpro.com