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 master branch, built from commit 16d881e748.

Boost Master Library Documentation - Patterns and Idioms

Patterns and Idioms

Compressed Pair

A pair class with empty member optimization.

Author(s)
John Maddock, Howard Hinnant, et al
First Release
1.13.0
C++ Standard Minimum Level
03
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
C++ Standard Minimum Level
03
Categories
Patterns and Idioms
Outcome

A deterministic failure handling library partially simulating lightweight exceptions.

Author(s)
Niall Douglas
First Release
1.70.0
C++ Standard Minimum Level
14
Categories
Language Features Emulation, Patterns and Idioms, Programming Interfaces
Scope

A collection of scope guards and a unique_resource wrapper.

Author(s)
Andrey Semashev
First Release
1.85.0
C++ Standard Minimum Level
11
Categories
Language Features Emulation, Patterns and Idioms
Signals2

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

Author(s)
Frank Mori Hess
First Release
1.39.0
C++ Standard Minimum Level
03
Categories
Function objects and higher-order programming, Patterns and Idioms
Utility

Various utilities, such as base-from-member idiom and binary literals in C++03.

Author(s)
Dave Abrahams and others
First Release
1.13.0
C++ Standard Minimum Level
03
Categories
Miscellaneous, Patterns and Idioms