Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.

Boost 1.64.0 Library Documentation - Patterns and Idioms

Patterns and Idioms

Compressed Pair

Empty member optimization.

Author(s)
John Maddock, Howard Hinnant, et al
First Release
1.13.0
Categories
Data structures, Patterns and Idioms
Flyweight

Design pattern to manage large quantities of highly redundant objects.

Author(s)
Joaquín M López Muñoz
First Release
1.38.0
Categories
Patterns and Idioms
Signals (deprecated)

Managed signals & slots callback implementation.

Author(s)
Doug Gregor
First Release
1.29.0
Categories
Function objects and higher-order programming, Patterns and Idioms
Signals2

Managed signals & slots callback implementation (thread-safe version 2).

Author(s)
Frank Mori Hess
First Release
1.39.0
Categories
Function objects and higher-order programming, Patterns and Idioms
Utility

Class noncopyable plus checked_delete(), checked_array_delete(), next(), prior() function templates, plus base-from-member idiom.

Author(s)
Dave Abrahams and others
First Release
1.13.0
Categories
Algorithms, Function objects and higher-order programming, Memory, Miscellaneous, Patterns and Idioms