Boost
Libraries
arrow_drop_down
Boost.MultiIndex
M
D
C++ 03 Added in Boost 1.32.0
Categories: Containers , Data

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.

This Release

Joaquín M López Muñoz
Joaquín M López Muñoz
Maintainer

Boost Multi-index Containers Library

Branch CI Drone status Deps Documentation Enter the Matrix
Branch CI Drone status Deps Documentation Enter the Matrix
BSL 1.0 Header-only library

Boost.MultiIndex 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.

Learn about Boost.MultiIndex

Install Boost.MultiIndex

  • Download Boost and you're ready to go (this is a header-only library requiring no building).
  • Using Conan 2: In case you don't have it yet, add an entry for Boost in your conanfile.txt (the example requires at least Boost 1.86):
[requires]
boost/[>=1.86.0]
    If you're not using any compiled Boost library, the following will skip building altogether:
[options]
boost:header_only=True
  • Using vcpkg: Execute the command
vcpkg install boost-multi-index

Support

Contribute