Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2003-01-14 11:15:10


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.
>
> ..or an empty pointer if the object exists, but has expired.

Nope, if the weak_ptr argument has expired, the object no longer exists.


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