|
Boost : |
From: E. Gladyshev (egladysh_at_[hidden])
Date: 2003-08-27 14:48:18
--- David Abrahams <dave_at_[hidden]> wrote:
> "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.
Sorry, David.
I thought that your point of view was that overloading the global
new/delete should be the ultimate solution to the memory
management problems in C++.
I just thought, that in concept, it is not much different from Java.
Eugene.
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk