Additional vector speed improvements, added basic benchmark against varray

[SVN r83126]
This commit is contained in:
Ion Gaztañaga committed 2013-02-24 13:13:36 +00:00
1 parent b3d5f6480b
commit 0896d04ddf
19 files changed
+5296 -924

No files matched your search

+6 -1
View File
@@ -216,7 +216,12 @@ int vector_test()
stdvector->push_back(int(1));
if(!test::CheckEqualContainers(boostvector, stdvector)) return 1;
}
{ //push_back with enough capacity
{ //test back()
const IntType test_this(1);
if(test_this != boostvector->back()) return 1;
}
{ //pop_back with enough capacity
boostvector->pop_back();
boostvector->pop_back();
stdvector->pop_back();