|
Boost : |
From: Simon Richter (Simon.Richter_at_[hidden])
Date: 2007-09-13 16:39:33
Hi,
Johan Torp schrieb:
> A simple "user heap" could take ownership of such instances and delay
> deletion until itself is deleted. The basic interface of - let's call
> it heap - would look like this:
That would be very similar to a ptr_* container that assumes ownership
of the object, with a common base class for all the objects to
facilitate destruction.
Simon
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk