mirror of
https://github.com/boostorg/multi_index.git
synced 2026-01-19 04:22:11 +00:00
* removed simulated variadic function args * removed detail/allocator_traits.hpp in favor of Boost.Core functionality * removed usage of Boost.Move * avoided pessimizing-move warnings * removed usage of BOOST_DEDUCED_TYPENAME * removed usage of BOOST_NO_CXX11_HDR_INITIALIZER_LIST * removed usage of BOOST_NO_MEMBER_TEMPLATES * removed usage of BOOST_NO_SFINAE * removed leftover pp line * removed usage of BOOST_NO_MEMBER_TEMPLATE_FRIENDS * removed usage of BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP * removed usage of BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL * removed usage of BOOST_NO_CXX11_HDR_TYPE_TRAITS * removed usage of BOOST_NO_CXX11_HDR_RANDOM * removed usage of BOOST_NO_POINTER_TO_MEMBER_TEMPLATE_PARAMETERS * removed usage of BOOST_NO_CXX11_DECLTYPE * removed workarounds for pre-C++11 compilers * updated dependencies * removed usage of BOOST_MULTI_INDEX_MEMBER and similar in examples * updated docs * added C++11 badge * updated as per Alexander Grund's review * editorial * removed unneeded #includes
49 lines
3.9 KiB
Markdown
49 lines
3.9 KiB
Markdown
# Boost Multi-index Containers Library
|
||
|
||
[](https://github.com/boostorg/multi_index/tree/master) [](https://github.com/boostorg/multi_index/actions/workflows/ci.yml) [](https://drone.cpp.al/boostorg/multi_index) [](https://pdimov.github.io/boostdep-report/master/multi_index.html) [](https://www.boost.org/doc/libs/master/libs/multi_index) [](https://regression.boost.org/master/developer/multi_index.html)<br/>
|
||
[](https://github.com/boostorg/multi_index/tree/develop) [](https://github.com/boostorg/multi_index/actions/workflows/ci.yml) [](https://drone.cpp.al/boostorg/multi_index) [](https://pdimov.github.io/boostdep-report/develop/multi_index.html) [](https://www.boost.org/doc/libs/develop/libs/multi_index) [](https://regression.boost.org/develop/developer/multi_index.html)<br/>
|
||
[](https://www.boost.org/users/license.html) <img alt="C++11 required" src="https://img.shields.io/badge/standard-C%2b%2b11-blue.svg"> <img alt="Header-only library" src="https://img.shields.io/badge/build-header--only-blue.svg">
|
||
|
||
[Boost.MultiIndex](http://boost.org/libs/multi_index) 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
|
||
|
||
* [Online documentation](https://boost.org/libs/multi_index)
|
||
|
||
## Install Boost.MultiIndex
|
||
|
||
* [Download Boost](https://www.boost.org/users/download/) 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]
|
||
```
|
||
<ul>If you're not using any compiled Boost library, the following will skip building altogether:</ul>
|
||
|
||
```
|
||
[options]
|
||
boost:header_only=True
|
||
```
|
||
* Using vcpkg: Execute the command
|
||
```
|
||
vcpkg install boost-multi-index
|
||
```
|
||
* Using CMake: [Boost CMake support infrastructure](https://github.com/boostorg/cmake)
|
||
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](https://cpplang.slack.com/)
|
||
([ask for an invite](https://cppalliance.org/slack/) if you’re not a member of this workspace yet)
|
||
* Ask in the [Boost Users mailing list](https://lists.boost.org/mailman/listinfo.cgi/boost-users)
|
||
(add the `[multi_index]` tag at the beginning of the subject line)
|
||
* [File an issue](https://github.com/boostorg/multi_index/issues)
|
||
|
||
## Contribute
|
||
|
||
* [Pull requests](https://github.com/boostorg/multi_index/pulls) 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](http://www.boost.org/LICENSE_1_0.txt).
|