|
Boost : |
From: E. Gladyshev (egladysh_at_[hidden])
Date: 2003-08-27 12:02:45
--- Peter Dimov <pdimov_at_[hidden]> wrote:
> My point exactly. This is why the Java memory manager beats C++'s memory
> manager in the long run, because the user can't fix it.
What is the pupose of the Deleter parameter in boost::shared_ptr?
It creates an illusion that I can control memory allocations in
shared_ptr, but the counter allocations are not customizable.
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? :)
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