$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
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?