Abdelrazak Younes <[EMAIL PROTECTED]> writes:

| Abdelrazak Younes a écrit :
| >> I also think that it_vector really should be a RandomAccessList, tuned
| >> for only working with std::list as the main container and std::vector
| >> as its 'iterator cache'
| > I need more explanation. For me, if you restrain the use to
| > operator[] and operator() access ParagraphList would be plenty fast.
| > I would really like to keep compatibility with the inner container
| > (in this case std::list).
| 
| Reading again, I understand what you are saying. I am not against
| that, actually I made list a template argument so that you can play
| with other type of container as you said you will. But if you are
| happy with your proposal, it's OK with me. Shall I do this change?

I think yes. But use a typedef internally so that we can easily
exchange it for something else. (if we take advantage of list::splice
it will be very hard to move to a different container type...)

-- 
        Lgb

Reply via email to