From a8d34a56f78eb11b09abefe9dc0a9ad2f2815a01 Mon Sep 17 00:00:00 2001 From: joaquintides Date: Sun, 26 Jan 2020 11:52:23 +0100 Subject: [PATCH] made multi_index_container AllocatorAware (#30) --- doc/compiler_specifics.html | 16 +- doc/reference/multi_index_container.html | 75 ++++++- doc/release_notes.html | 5 +- doc/tests.html | 53 ++--- .../multi_index/detail/allocator_traits.hpp | 12 +- .../boost/multi_index/detail/auto_space.hpp | 19 +- .../boost/multi_index/detail/bucket_array.hpp | 9 +- include/boost/multi_index/detail/copy_map.hpp | 62 ++++-- .../boost/multi_index/detail/index_base.hpp | 8 +- .../multi_index/detail/ord_index_impl.hpp | 8 +- .../detail/rnd_index_ptr_array.hpp | 10 +- include/boost/multi_index/hashed_index.hpp | 10 +- .../boost/multi_index/random_access_index.hpp | 10 +- include/boost/multi_index/sequenced_index.hpp | 8 +- include/boost/multi_index_container.hpp | 178 +++++++++++++--- test/Jamfile.v2 | 3 +- test/test_all_main.cpp | 4 +- test/test_alloc_awareness.cpp | 192 ++++++++++++++++++ test/test_alloc_awareness.hpp | 11 + test/test_alloc_awareness_main.cpp | 18 ++ 20 files changed, 605 insertions(+), 106 deletions(-) create mode 100644 test/test_alloc_awareness.cpp create mode 100644 test/test_alloc_awareness.hpp create mode 100644 test/test_alloc_awareness_main.cpp diff --git a/doc/compiler_specifics.html b/doc/compiler_specifics.html index 5d531cf..f5c3492 100644 --- a/doc/compiler_specifics.html +++ b/doc/compiler_specifics.html @@ -37,6 +37,7 @@ We list some of the possible limitations along with suitable workarounds when av