|
Boost : |
From: Rob Stewart (stewart_at_[hidden])
Date: 2004-04-05 08:49:42
From: "Malcolm Smith" <mjfreelancing_at_[hidden]>
>
> I am new to this list and saw the messages related to traits and policies.
Welcome.
> I understand policy classes but am not very familiar with traits.
The former grew out of the latter.
> Can someone recommend a link for me to follow so I can better understand
> what they are as well as when, why and how to use them.
http://www.boost.org/libs/type_traits/index.html defines a large
collection of single-purpose traits classes. std::numeric_limits,
a collection of traits under a single name, is another example of
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