
1 May
2005
1 May
'05
9:30 p.m.
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.
Best regards Olaf Krzikalla