Boost logo

Boost :

From: Nicola Musatti (nmusatti_at_[hidden])
Date: 2003-01-15 01:51:45


David Abrahams wrote:
> "Peter Dimov" <pdimov_at_[hidden]> 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


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