From: Beman Dawes (bdawes_at_[hidden])
Date: 2002-01-14 13:39:01


At 11:06 AM 1/14/2002, rogeeff wrote:

>Ideally Storage Policy manages HOW to allocate/deallocate resource,
>while Ownership policy manages WHEN to do so.
>
>If we will stick to this definition, we will never need to
>interpolicy (Storage-Ownership at least) communication.

They need some communication, although it may be indirect via the framework
class. Thus OwnershipPolicy::Release() tells the framework (via bool
return) that StoragePolicy::Destroy() should be called.

While StoragePolicy and OwnershipPolicy are mostly independent and
orthogonal, it isn't quite 100%.

--Beman