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

Boost Library Documentation - Patterns and Idioms

Sort by:

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
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
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
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