Alfredo Braunstein <[EMAIL PROTECTED]> writes: > Jean-Marc Lasgouttes wrote: > > > + boost::next(plist.begin(),old.pit())->params().startOfAppendix(soa); > > Better to use plist[old.pit()] here.
I kept what was the style of the function. But obviously you are right:) > > + plist.erase(boost::next(plist.begin(), old.pit())); > > Here it's not possible :-( I guess we need a erase(pos_type). JMarc