I understand that C++ Traits are compile time properties that can be used to take some compile time choices for templates, but where does they come from ?
Can anyone point out some basic background material about the concepts behind traits ?
Where does the word traits come from ?
EDIT: I guess I should refine the question. I know of “character trait” (or “trait de caractère” in French for Philipp), but who thought about applying it to software ingeeneering to describe some kind of properties, and does it have the specific meaning I attach to it “compile time property” ?
C++ Type traits by John Maddock and Steve Cleary
http://www.boost.org/doc/libs/1_31_0/libs/type_traits/c++_type_traits.htm
Traits: a new and useful template technique by Nathan C. Myers:
http://www.cantrip.org/traits.html
very helpful!
Matthew