Subject: Re: [boost] Interest check: container with preallocated buffer
From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2009-05-27 08:51:38
Dmitry Vinogradov skrev:
> Dmitry Vinogradov wrote:
>> Thorsten Ottosen 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
>> BTW, it would be nice to have an auto_buffer::assign(InputIt First,
>> InputIt Last) member function like std::vector::assign().
> + resize()
on my todo.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk