Boost logo

Boost :

From: Gennadiy Rozental (gennadiy.rozental_at_[hidden])
Date: 2004-04-02 00:58:14

> > So, for me it is pretty easy, traits *only* describes
> > Model-invariant parts of Concept Features while policies
> > furnish Models of Concepts.
> Skipping all the GP stuff: traits DESCRIBE and policies ACT.

And why would we name these concepts Trait and Policy?

Describe/Act classification could be interesting, but IMO it has *nothing*
to do with Trait/Policy one. See my other post for one example. Here another
one: how ConversionPolicy in SmartPointer design act?

Let me repeat very simple rule (though a bit simplistic to be correct in
general case) I believe is keystone to the Trait/Policy separation:

Trait is specific to the type
Policy is orthogonal to the type.

Do you have an example refuting my view?

> /David


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