Boost logo

Boost :

From: Jonathan Turkanis (technews_at_[hidden])
Date: 2004-01-18 11:25:15

"Jonathan Turkanis" <technews_at_[hidden]> wrote in message
> "Bronek Kozicki" <brok_at_[hidden]> wrote in message:

> I think you also need more motivation for the introduction of
> deleters. You should show how they would be used in realistic
> situations and why they would be more convenient or safer than other
> well-known alternatives (e.g. shared_ptr, vector, an auto_array
> template or a special pupose class which does cleanup in its
> destructor). Saying you want to make auto_ptr more compatible with
> shared_ptr does not seem sufficient, since the deleters don't have
> same form as those used with shared_ptr, and you can't use your
> auto_ptrs with incomplete types, which is one of the key features of
> shared_ptr.

I should say these are not necssarily criticism of your proposal; I'd
just like to see some examples and discussion.


Boost list run by bdawes at, gregod at, cpdaniel at, john at