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

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
C++ Standard Minimum Level
03
Categories
Algorithms, Function objects and higher-order programming, Memory, Miscellaneous, Patterns and Idioms