Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2002-05-06 06:37:10


From: "Gennadiy Rozental" <rogeeff_at_[hidden]>
> Topic 1: Storage and Ownership policy treatment
> This is probably most important topic since it greatly affect framework
> design. Let me repeat some of my point here, as I does not seems to get a
> response before, while I think that Loki SmartPtr mistreat it a bit. So my
> understanding of storage and ownership policies is following:
> a. Storage policy should answer the question: "HOW to store, access,
copy
> and release the resource".
> b. Ownership policy should answer the question: "WHEN to release the
> resource".

This is a good separation, but how do you apply it to COM-style intrusive
counted, self-deleting objects?

> I do support intrusive reference counting through traits. I believe it
more
> flexible.

In what ways is it more flexible?


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