
24 Mar
2007
24 Mar
'07
12:30 a.m.
On Sat, 24 Mar 2007 00:34:29 +0100, Mathias Gaunard <mathias.gaunard@etu.u-bordeaux1.fr> 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/