* Improved vector's insertion performance.

*  Changed again experimental multiallocation interface for better performance (still experimental).
*  Added no exception support for those willing to disable exceptions in their compilers.
*  Fixed GCC -Wshadow warnings.
*  Replaced deprecated BOOST_NO_XXXX with newer BOOST_NO_CXX11_XXX macros.


[SVN r81519]
This commit is contained in:
Ion Gaztañaga
2012-11-24 21:09:10 +00:00
parent bc5c91bb79
commit 6d4af66add
19 changed files with 355 additions and 256 deletions

View File

@@ -15,7 +15,7 @@
#include <functional>
#include <boost/container/vector.hpp>
#include <boost/move/move.hpp>
#include <boost/move/utility.hpp>
#include "check_equal_containers.hpp"
#include "movable_int.hpp"
#include "expand_bwd_test_allocator.hpp"
@@ -148,12 +148,13 @@ int main()
v.push_back(Test());
const test::EmplaceOptions Options = (test::EmplaceOptions)(test::EMPLACE_BACK | test::EMPLACE_BEFORE);
if(!boost::container::test::test_emplace
< vector<test::EmplaceInt>, Options>())
if(!boost::container::test::test_emplace< vector<test::EmplaceInt>, Options>()){
return 1;
}
if(!boost::container::test::test_propagate_allocator<vector>())
if(!boost::container::test::test_propagate_allocator<vector>()){
return 1;
}
return 0;