Trait class

From Wikipedia, the free encyclopedia

In computer programming, a trait class is a template class used to associate information or behaviour to a value or an existing data type.

[edit] Usage

It is used in Standard Template Library and the C++ standard library to support generic container classes.

[edit] External links