Martin Vermeer a écrit :
Ah! No iterators at all.
None ;-)

           s = pit;
           pit_type t = s + len;
           // and also this one:
           pars.erase(s, t);

And there...

             pars.erase(boost::next(pars.begin(), s),
                        boost::next(pars.begin(), t);
Not very pretty... I see why you had your helper methods.

I suppose I'll just commit as is (it's not speed critical), perhaps with
FIXME's. This can always be modified later.
OK. Commit that and in I'll try to re-introduce some helper methods. Hope that Lars will be open (pragmatic) enough...

Abdel.

Reply via email to