$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: David Abrahams (dave_at_[hidden])
Date: 2003-01-14 11:54:40
"Peter Dimov" <pdimov_at_[hidden]> writes:
> From: "Daniel Frey" <daniel.frey_at_[hidden]>
>
>> 'get' implies (at least to me), that it only fetches a pointer/reference
>> to something which already exists.
>
> In a way, this is exactly what make_shared/get_shared_ptr does; it
> fetches a pointer to something which already exists, the object.
I think you misunderstand Daniel here. get_... comes with an
implication that it returns an lvalue which already exists, i.e. that
the resulting shared_ptr is already there somewhere inside the
weak_ptr.
-- David Abrahams dave_at_[hidden] * http://www.boost-consulting.com Boost support, enhancements, training, and commercial distribution