Boost logo

Boost :

Subject: Re: [boost] [memory]is there memory management related class in boost?
From: Edouard A. (edouard_at_[hidden])
Date: 2009-07-15 09:03:47


On Wed, 15 Jul 2009 06:58:29 -0600, OvermindDL1 <overminddl1_at_[hidden]>
wrote:

> And the smart pointers have nice things like overriding the destructor
> as a parameter so you can have it do things like return a pointer back
> to a memory pool.

Combining the two is indeed a good thing.

I wrote an example at the end of this post:
http://www.bureau14.fr/blogea/2009/06/reducing-heap-pressure/

(Sorry the post is a tad long, just scroll down to see the example)

-- 
EA

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk