Tagged: Design Pattern

C++Traits 0

C++ Traits

‘C++ Traits’ is an idiom that allows a great level of abstraction, normally possible only by a combination of inheritance and composition, all at compile time. It allows a class to use any object by relying on its traits, i.e., functions and member variables exposed by that object. What C++...