David Abrahams wrote:
"Peter Dimov" <[EMAIL PROTECTED]> writes:
[...]
Of course you could do that as well, but my point is that the primary
purpose of make_* functions is argument deduction, and the primary purpose
of make_shared/get_shared_ptr is to support the idiom above, where argument
deduction isn't important.

So what about as_shared or to_shared?
Why not just 'share' ?

Cheers,
Nicola Musatti



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

Reply via email to