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 a snapshot of the develop branch, built from commit 26d7d9b59f.

Boost Develop Library Documentation - Patterns and Idioms

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
Standard
 
Categories
Algorithms, Function objects and higher-order programming, Memory, Miscellaneous, Patterns and Idioms
Compressed Pair

Empty member optimization.

Author(s)
John Maddock, Howard Hinnant, et al
First Release
1.13.0
Standard
 
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
Standard
 
Categories
Patterns and Idioms
Signals2

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

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

A deterministic failure handling library partially simulating lightweight exceptions.

Author(s)
Niall Douglas
First Release
1.70.0
Standard
Proposed
Categories
Language Features Emulation, Patterns and Idioms, Programming Interfaces