Alfredo Braunstein wrote: > Jean-Marc Lasgouttes wrote: > >> I guess we need a erase(pos_type). > > grep boost::next *cpp | wc > 37 185 2583 > > A slightly different idea: I wonder if a specialization of advance for > RandomAccessList::iterator would get us an instant noticeable performance > improvement (because boost::next uses advance I presume).
Ah sorry not possible, as RandomAccessList::iterator is just a list::iterator (we don't have access to the container) A/