More C++ Idioms/Polymorphic Value Types

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

Contents

[edit]

Polymorphic Value Types

[edit] Intent

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