More C++ Idioms/Polymorphic Value Types

Polymorphic Value Types
edit

Intent edit

Support run-time polymorphism of value types without requiring inheritance relationship.

Also Known As edit

Run-time Concept

Motivation edit

Solution and Sample Code edit

Known Uses edit

Adobe Poly Library

Related Idioms edit

References edit

Sean Parent: Value Semantics and Concepts-based Polymorphism @ C++ Now! 2012, Aspen, CO

Inheritance Is The Base Class of Evil