Boost logo

Boost :

From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2008-06-23 12:35:45


Cory Nelson wrote:
> Looks very nice! I have some code that could make good use of this -
> I'll be playing around with it for the next few days to see how it
> goes.

Thanks!

> One thing I'd be interested in is a zero-overhead scoped arena.
> Sometimes you just need a read-only collection, and don't want a
> pointer to a common arena (the overhead) being stored in all the
> dynamically sized objects. I've been using Intrusive for this
> purpose, but it doesn't call destructors on its own and there's no
> vector that lets you one-time sizing.

I don't fully understand what you mean. Are you talking about an
allocator that just allocates some big chunks of memory and increases a
pointer to allocate memory (deallocation is no-op)? Could you elaborate
a bit more?

Regards,

Ion


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