|
Boost : |
From: Marco (mrcekets_at_[hidden])
Date: 2007-03-23 20:30:53
On Sat, 24 Mar 2007 00:34:29 +0100, Mathias Gaunard
<mathias.gaunard_at_[hidden]> wrote:
> Marco wrote:
>
>> (1) evaluate the need for a specific allocator because std::allocator
>> doesn't provide a reallocate method, and growing allocated space could
>> be
>> a better policy than a create/destroy policy;
>
> Ion Gaztañaga has made a proposal to the C++ standard to enhance
> standard allocators to support in-place growing and shrinking.
> He calls those "version 2" allocators.
>
> Maybe you could simply use that interface.
>
>
Thank you, I'll read the paper.
Marco
-- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk