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.32.0 Library Documentation - Data structures

By Category

Containers

  • Variant: Safe, generic, stack-based discriminated union container.
  • Multi-Index: The Boost Multi-index Containers Library provides a class template named multi_index_container which enables the construction of containers maintaining one or more indices with different sorting and access semantics.

Data structures

  • Compressed Pair: Empty member optimization.
  • Any: Safe, generic container for single values of different value types.
  • Tuple: Ease definition of functions returning multiple values, and more.
  • Variant: Safe, generic, stack-based discriminated union container.
  • Multi-Index: The Boost Multi-index Containers Library provides a class template named multi_index_container which enables the construction of containers maintaining one or more indices with different sorting and access semantics.

Patterns and Idioms