Boost logo

Boost :

From: Cory Nelson (phrosty_at_[hidden])
Date: 2006-06-23 08:24:28

On 6/23/06, Boris <boriss_at_[hidden]> wrote:
> The documentation at file://localhost/C:/Boost/libs/pool/doc/concepts.html
> says: "Each of the chunks in any given block are always the same size. This
> is the fundamental restriction of Simple Segregated Storage: you cannot ask
> for chunks of different sizes."
> Okay, but can I ask for more than one chunk of the same size - for an array?

With the boost interface you can use malloc_n(), though freelists
aren't meant for arrays. In fact, malloc_n() will fail if it doesn't
find an obviously contiguous chunk. Common usage of a freelist will
make the freelist non-contiguous so you probably want to look

> Boris
> _______________________________________________
> Unsubscribe & other changes:

Cory Nelson

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