Deprecate boost/interprocess/containers/*.hpp header:

- Change all examples and test to include <boost/container/*>
- Update documentation, including current std library implementation portability regarding offset_ptr
This commit is contained in:
Ion Gaztañaga
2024-08-08 01:21:14 +02:00
parent b155bae46e
commit 25206e6332
47 changed files with 272 additions and 417 deletions

View File

@@ -13,7 +13,7 @@
#include <boost/interprocess/detail/config_begin.hpp>
#include <boost/interprocess/containers/vector.hpp>
#include <boost/container/vector.hpp>
#include <vector>
#include <iostream>
@@ -865,7 +865,7 @@ bool test_many_deallocation(Allocator &a)
typedef typename Allocator::multiallocation_chain multiallocation_chain;
const std::size_t ArraySize = 11;
vector<multiallocation_chain> buffers;
boost::container::vector<multiallocation_chain> buffers;
typename Allocator::size_type requested_sizes[ArraySize];
for(std::size_t i = 0; i < ArraySize; ++i){
requested_sizes[i] = 4*i;