Boost.MultiIndex
C++
03
Added in Boost
1.32.0
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
Dependencies
Assert
Bind
Config
Container Hash
Core
Integer
Iterator
Move
MPL
Preprocessor
Smart Ptr
Static Assert
ThrowException
Tuple
Type Traits
Utility
Boost Multi-index Containers 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
- Using CMake: Boost CMake support infrastructure allows you to use CMake directly to download, build and consume all of Boost or some specific libraries.
Support
- Join the #boost discussion group at cpplang.slack.com (ask for an invite if you’re not a member of this workspace yet)
- Ask in the Boost Users mailing list
(add the
[multi_index]
tag at the beginning of the subject line) - File an issue
Contribute
- Pull requests against develop branch are most welcome. Note that by submitting patches you agree to license your modifications under the Boost Software License, Version 1.0.