The following is a definition from the C++98 Standard:
"A traits class is a class that encapsulates a set of types and functions necessary for template classes and template functions to manipulate objects of types for which they are instantiated."
References:
ISO/IEC International Standard 14882, Programming Languages — C++ http://www.open-std.org/jtc1/sc22/wg21/docs/projects#14882
More Exceptional C++ by Herb Sutter. Addison-Wesley, 2001, p. 20.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment