|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2003-08-27 14:26:41
"E. Gladyshev" <egladysh_at_[hidden]> writes:
>> > Would not it be better to remove the Deleter from shared_ptr and
>> > always require to use 'new' just to be consistent
>> > and not to fool users? :)
>>
>> No, it would not.
>
> Why not? It is consistent with Peter's and David's view of
> Java-like memory policies.
Don't put words in my mouth; it's Peter who's been talking about Java.
-- Dave Abrahams Boost Consulting www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk