Boost logo

Boost :

From: rogeeff (rogeeff_at_[hidden])
Date: 2002-01-07 02:19:46


--- In boost_at_y..., Beman Dawes <bdawes_at_a...> wrote:

[...]

>
> * Some Ownership policies, such as for an invasive reference
counted
> pointer, need to disallow arrays. The appropriate enums to
communicate
> is_array and disallow_array need to be added to StoragePolicy and
> OwnershipPolicy, and a compile time assert needs to be added to
framework.
>

Could you please add a couple words more here? Why Ownership policy
would need to use checking policy directly? Before considering
different ways to implement compunication between policies I would
like to see a real problem/example that could demonstate the need for
some policies to comunicate. Form my stand point it should be either
generic enough to be a part of framework or part of the wrong policy
or the interface problem (though I could be wrong).

Regards,

Gennadiy.

[...]

> --Beman


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