Boost logo

Boost :

From: Thorsten Ottosen (nesotto_at_[hidden])
Date: 2005-05-01 16:05:58

"Olaf Krzikalla" <krzikalla_at_[hidden]> wrote in message
| Hi,
| Thorsten Ottosen wrote:
| > so why not use "ordinary" views, eg. containers of pointers?
| >
| > it's not difficult to lay out std::vector<Foo*> s.t. no memory allocation
| > occurs (except once).
| It strongly depends on your application. E.g. inserting and removing
| elements in the middle of a sequence rather forbids the using of
| std::vector due to performance reasons.

but if you're creating a linked-list on the "stack", then you need to store
the list somewhere;
what else can be used that vector<Foo*> ?


Boost list run by bdawes at, gregod at, cpdaniel at, john at