Containers Data C++03
Added in 1.32.0

Boost.MultiIndex

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.

About Boost.MultiIndex

Please check out the library's documentation to learn more.

In Progress Branch

You are viewing the master version of this library.

The master and develop pages are shown here to provide access to the newest in-development in-progress documentation. See the "Documentation" link on this page.

Other aspects of the page will reflect the previous official version, or not be available until the next release.

Contributors: This Release


Documentation

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 C++11 required 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

Join the Boost Developers Mailing List

Get the latest on releases, features, security patches, fixes and all major announcements.

All Contributors