Vector performance improvements: dispatching to memcpy when possible.

[SVN r83271]
This commit is contained in:
Ion Gaztañaga committed 2013-03-03 12:26:48 +00:00
1 parent 9b0a73fc32
commit 6acbbb6f9b
18 files changed
+781 -464

No files matched your search

+6
View File
@@ -80,6 +80,12 @@ bool vector_copyable_only(V1 *boostvector, V2 *stdvector, boost::container::cont
stdvector->push_back(int(3));
if(!test::CheckEqualContainers(boostvector, stdvector)) return false;
}
{
V1 *pv1 = new V1(*boostvector);
V2 *pv2 = new V2(*stdvector);
delete pv1;
delete pv2;
}
return true;
}