Thursday, October 21, 2010

Traits Class

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."

   ISO/IEC International Standard 14882, Programming Languages — C++

More Exceptional C++ by Herb Sutter. Addison-Wesley, 2001, p. 20.

No comments:

Post a Comment