Boost logo

Boost :

From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-04-22 16:42:01


Lance.Diduck_at_[hidden] wrote:
> Steven Watanabe wrote:
>> As I understand it, if I have a List that exists for the duration of
> the program, and I am often
>> adding and removing elements, then the memory for the elements will
> just build up until the List is destroyed.
> In fact, with some implementations of std::list will support this
> behavior with a suitable allocator. See pg 31 of
> for an
> example. So the idea has been around for some time -- an allocator could
> allocate live objects and not just raw memory.

I understand that, and I can see that it may make lists
run faster. /depending on the circumstances/.
This is a useful idea and I would support a boost submission.
I just wanted to point out that it is not a panacea for all
memory problems.

In Christ,
Steven Watanabe

Boost list run by bdawes at, gregod at, cpdaniel at, john at