More C++ Idioms/Polymorphic Value Types

From Wikibooks, open books for an open world
Jump to: navigation, search

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]

Poly Library

Related Idioms[edit]

References[edit]

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