Boost logo

Boost :

Subject: Re: [boost] Interest check: container with preallocated buffer
From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2009-05-19 16:18:45


Ross Levine skrev:
> What would be REALLY nice, is if there was an auto_vector and an auto_set
> and an auto_map, etc. If anyone has looked into EASTL, they have various
> fixed_ containers that work this way.
> http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2271.html#Functionality
>
> I think this is a great idea, personally.

Seems like a lot of work too.

I wonder if not the majority of the use cases falls into local
objects. In that case, we should be able to use a special
stack_based_allocator with existing containers.

-Thorsten


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