Subject: Re: [boost] Proposal: Monotonic Containers
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2009-06-13 12:54:47
Christian Schladetsch wrote:
> But its still not an allocation, it
> is a re-interpretation of space within an already-allocated buffer.
Which is what an allocation is.
An allocation, as the name suggests, is simply the act of assigning some
range of the computer memory to some use.
What you're doing is simply allocating some range of memory on the
execution stack to your container.
I fail to see how the standard allocator concept wouldn't be as good for
Sure, the standard allocator concept has deficiencies, it doesn't
provide two-way growing and shrinking, nor does it say how much memory
it actually has allocated you.
But people are working on fixing that it seems.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk