Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2002-12-10 07:24:11


From: "Fernando Cacciola" <fernando_cacciola_at_[hidden]>
> Considering a member function that returns a pointer to something that is
> inside an object -a typical 'get()'-, it was noticed that most of the
times,
> it is not clear how the lifetime of the returned object is supposed to be
> handled.
[...]
> (b) in other cases, the object is being handed out through the pointer and
> there is some sort of ownership transfer or distribution involved.

Example?


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