
13 Sep
2007
13 Sep
'07
8:39 p.m.
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