"Peter Dimov" <[EMAIL PROTECTED]> writes: > From: "Daniel Frey" <[EMAIL PROTECTED]> > >> '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 [EMAIL PROTECTED] * http://www.boost-consulting.com Boost support, enhancements, training, and commercial distribution _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost