
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#Functiona... I think this is a great idea, personally. On Mon, May 18, 2009 at 9:05 AM, Thorsten Ottosen < thorsten.ottosen@dezide.com> wrote:
Dmitry Vinogradov skrev:
Boost.Array offers constant size container with preallocated buffer, Boost.Optional provides from zero to one element. There are no STL container with preallocated buffer and it seems custom allocator does not help to do this with existing containers.
Does any container exist to offer functionality like Boost.Array but allowing to store from 0 to N elements? Is there any interest in such container?
PS. It's similar to fixed_string but as a generic container.
Please see
-Thorsten
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost