forked from boostorg/container
Modify flat associative containers to be adaptors if the allocator argument is a container. This allows using stable_vector, small_vector, static_vector as underlying containers.
This commit is contained in:
1 parent
6530b7870f
commit
2297f6af72
16 files changed
+1008
-474
No files matched your search
+2
-2
@@ -886,14 +886,14 @@ int map_test()
|
||||
for(int i = 0; i < MaxElem; ++i){
|
||||
stdmultimap.insert(StdPairType(MaxElem/2+i, MaxElem-i));
|
||||
}
|
||||
boostmultimap.merge(boost::move(boostmultimap2));
|
||||
boostmultimap.merge(boostmultimap2);
|
||||
if(!CheckEqualPairContainers(boostmultimap, stdmultimap)) return 1;
|
||||
|
||||
for(int i = 0; i < MaxElem; ++i){
|
||||
stdmultimap.insert(StdPairType(MaxElem*2/2+i, MaxElem*2+i));
|
||||
}
|
||||
|
||||
boostmultimap.merge(boost::move(boostmap2));
|
||||
boostmultimap.merge(boostmap2);
|
||||
if(!CheckEqualPairContainers(boostmultimap, stdmultimap)) return 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user