I'm thinking of renaming make_shared(weak_ptr), as the current similarity
with make_pair is undesirable. The best replacement I can come up with is
get_shared_ptr. I.e. instead of

if(shared_ptr<X> px = make_shared(wp))
{
}

the pattern will look like

if(shared_ptr<X> px = get_shared_ptr(wp))
{
}

Comments? Suggestions?

--
Peter Dimov
http://www.pdimov.com

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to