« Return to Thread: RFC - lifetime management

Re: RFC - lifetime management

by Simon Richter-2 :: Rate this Message:

Reply to Author | View in Thread

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
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

 « Return to Thread: RFC - lifetime management