From: Thorsten Ottosen (nesotto_at_[hidden])
Date: 2005-05-01 20:07:11
"Olaf Krzikalla" <krzikalla_at_[hidden]> wrote in message
| 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
| > 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.