$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Peter Dimov (pdimov_at_[hidden])
Date: 2008-04-17 10:29:25
Frank Mori Hess wrote:
> Also, there is no reason not to add a simple helper free function:
>
> template<typename T>
> shared_ptr<T> shared_from_this(T *t)
> {
> return t->shared_from_this(t);
> }
Not bad. This could be made a friend of esft and the only (public) accessor.