mirror of
https://github.com/boostorg/interprocess.git
synced 2026-01-19 04:12:13 +00:00
Intrusive:
* Added `linear<>` and `cache_last<>` options to singly linked lists. * Added `optimize_multikey<>` option to unordered container hooks. * Optimized unordered containers when `store_hash` option is used in the hook. * Implementation changed to be exception agnostic so that it can be used in environments without exceptions. * Added `container_from_iterator` function to tree-based containers. Interprocess: * Added anonymous shared memory for UNIX systems. * Fixed file lock compilation errors [SVN r44819]
This commit is contained in:
@@ -44,7 +44,16 @@ int test_expand_bwd()
|
||||
|
||||
if(!test::test_all_expand_bwd<int_vector>())
|
||||
return 1;
|
||||
/*
|
||||
//First raw volatile ints
|
||||
typedef test::expand_bwd_test_allocator<volatile int>
|
||||
volatile_int_allocator_type;
|
||||
typedef vector<volatile int, volatile_int_allocator_type>
|
||||
volatile_int_vector;
|
||||
|
||||
if(!test::test_all_expand_bwd<volatile_int_vector>())
|
||||
return 1;
|
||||
*/
|
||||
//Now user defined wrapped int
|
||||
typedef test::expand_bwd_test_allocator<test::int_holder>
|
||||
int_holder_allocator_type;
|
||||
@@ -72,6 +81,9 @@ int main()
|
||||
typedef allocator<int, managed_shared_memory::segment_manager> ShmemAllocator;
|
||||
typedef vector<int, ShmemAllocator> MyVector;
|
||||
|
||||
//typedef allocator<volatile int, managed_shared_memory::segment_manager> ShmemVolatileAllocator;
|
||||
//typedef vector<volatile int, ShmemVolatileAllocator> MyVolatileVector;
|
||||
|
||||
typedef allocator<test::movable_int, managed_shared_memory::segment_manager> ShmemMoveAllocator;
|
||||
typedef vector<test::movable_int, ShmemMoveAllocator> MyMoveVector;
|
||||
|
||||
@@ -81,6 +93,9 @@ int main()
|
||||
if(test::vector_test<managed_shared_memory, MyVector>())
|
||||
return 1;
|
||||
|
||||
//if(test::vector_test<managed_shared_memory, MyVolatileVector>())
|
||||
//return 1;
|
||||
|
||||
if(test::vector_test<managed_shared_memory, MyMoveVector>())
|
||||
return 1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user