Boost logo

Boost :

From: Thorsten Ottosen (nesotto_at_[hidden])
Date: 2005-05-01 19:48:10


"Olaf Krzikalla" <krzikalla_at_[hidden]> wrote in message
news:d53hmo$dtq$1_at_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.

yes, like in

struct Link
{
    Link* prev, next;
};

right?

So if you say the library is about performance, then I assume Link's cannot be
heap-allocated; so
where are they allocated?

I'm just trying to figure out what it is that makes your library faster in
certain cituations :-)

-Thorsten


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