mirror of
https://github.com/boostorg/interprocess.git
synced 2026-01-19 04:12:13 +00:00
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:
@@ -9,8 +9,8 @@
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include <boost/interprocess/managed_shared_memory.hpp>
|
||||
#include <boost/interprocess/containers/list.hpp>
|
||||
#include <boost/interprocess/containers/vector.hpp>
|
||||
#include <boost/container/list.hpp>
|
||||
#include <boost/container/vector.hpp>
|
||||
#include <boost/interprocess/allocators/node_allocator.hpp>
|
||||
#include "print_container.hpp"
|
||||
#include "dummy_test_allocator.hpp"
|
||||
@@ -42,12 +42,12 @@ template class ipcdetail::node_allocator_v1<void, managed_shared_memory::segment
|
||||
}}}
|
||||
|
||||
//Alias list types
|
||||
typedef list<int, shmem_node_allocator_t> MyShmList;
|
||||
typedef list<int, shmem_node_allocator_v1_t> MyShmListV1;
|
||||
typedef boost::container::list<int, shmem_node_allocator_t> MyShmList;
|
||||
typedef boost::container::list<int, shmem_node_allocator_v1_t> MyShmListV1;
|
||||
|
||||
//Alias vector types
|
||||
typedef vector<int, shmem_node_allocator_t> MyShmVector;
|
||||
typedef vector<int, shmem_node_allocator_v1_t> MyShmVectorV1;
|
||||
typedef boost::container::vector<int, shmem_node_allocator_t> MyShmVector;
|
||||
typedef boost::container::vector<int, shmem_node_allocator_v1_t> MyShmVectorV1;
|
||||
|
||||
int main ()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user