Boost logo

Boost :

From: Rob Stewart (stewart_at_[hidden])
Date: 2004-04-02 11:22:24


From: "David Bergman" <davidb_at_[hidden]>
>
> > 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.

I don't agree. I think it has to do with how the classes are
used. A template parameter permits clients to inject different
information and behavior, making it a policy class. When the
class is well known and is "just used" where needed, it is a
traits class.

-- 
Rob Stewart                           stewart_at_[hidden]
Software Engineer                     http://www.sig.com
Susquehanna International Group, LLP  using std::disclaimer;

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