Boost logo

Boost :

From: Deane Yang (deane_yang_at_[hidden])
Date: 2004-04-02 14:54:19

I'm probably oversimplifying, but my impression
is that a trait is a metafunction that provides
information about a class or type. This is based
on my impressions of "iterator_traits"; I know
nothing about "char_traits".

On the other hand, a policy class may or may not
be a template and injects new types or
behavior into a class. It can do this either
as a template argument or by inheritance.

If only we could just keep it that simple.

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