Boost logo

Boost :

From: Olaf Krzikalla (krzikalla_at_[hidden])
Date: 2005-05-01 16:30:59


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


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk