C++ Idioms

This page contains a list of my favourite C++ idioms with short descriptions, examples, and references.

Interface Class

 * MC++I: Interface Class

Named Constructor

 * C++FAQ: What is the "Named Constructor Idiom"?

Named Parameter

 * C++FAQ: What is the "Named Parameter Idiom"?

Tag Dispatching

 * GP: Techniques

Traits Class
Associates information with a type.
 * GP: Techniques