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

Data structures

Any

Safe, generic container for single values of different value types.

Author(s)
Kevlin Henney
First Release
1.23.0
Categories
Data structures
Bimap

Bidirectional maps library for C++. With Boost.Bimap you can create associative containers in which both types can be used as key.

Author(s)
Matias Capeletto
First Release
1.35.0
Categories
Containers, Data structures
Compressed Pair

Empty member optimization.

Author(s)
John Maddock, Howard Hinnant, et al
First Release
1.13.0
Categories
Data structures, Patterns and Idioms
Fusion

Library for working with tuples, including various containers, algorithms, etc.

Author(s)
Joel de Guzman, Dan Marsden and Tobias Schwinger
First Release
1.35.0
Categories
Data structures, Template Metaprogramming
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.

Author(s)
Joaquín M López Muñoz
First Release
1.32.0
Categories
Containers, Data structures
Pointer Container

Containers for storing heap-allocated polymorphic objects to ease OO-programming.

Author(s)
Thorsten Ottosen
First Release
1.33.0
Categories
Containers, Data structures
Tuple

Ease definition of functions returning multiple values, and more.

Author(s)
Jaakko Järvi
First Release
1.24.0
Categories
Data structures
Variant

Safe, generic, stack-based discriminated union container.

Author(s)
Eric Friedman and Itay Maman
First Release
1.31.0
Categories
Containers, Data structures