|
Boost : |
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2007-03-23 19:34:29
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.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk