Boost logo

Boost :

From: Valentin Bonnard (Bonnard.V_at_[hidden])
Date: 2000-08-27 13:27:17


On Sat, Aug 26, 2000 at 08:06:16PM -0400, David Abrahams wrote:

> I am writing some classes which I plan to allocate out of a special memory
> pool, but never destroy (mostly for speed). I am just going to release the
> memory pool to clean up. Naturally, these objects must have trivial
> destructors.

Why ? All you need to know is that the destructor doesn't
do anything that should be done, like releasing memory
that isn't allocated in the same pool.

-- 
Valentin Bonnard

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