
"Olaf Krzikalla" <krzikalla@gmx.de> wrote in message news:d53hmo$dtq$1@sea.gmane.org... | Hi, | | I'm not sure, if I get all your points right. | | Thorsten Ottosen wrote: | > but if you're creating a linked-list on the "stack", then you need to store | > the list somewhere; | The list nodes aren't created on the 'stack', they are part of the objects. | | > what else can be used that vector<Foo*> ? | I have no clue, what you are actually asking. Are you looking for | a sensible usage of vector<Foo*>? vector<Foo*> perfectly fits e.g. for | std::priority_queue. But maybe I misunderstood your question. I see now that you always store the elements in a vector before you create a list of pointers; so that answers my question about where the stuff is stored. Then I need to ask, what the big difference would be between your classes and using boost.multi-index container? Coulnd't the same functionality be found there already? If not, wouldn't it be easy to add the functionality there with a new style of indices. bests -Thorsten