////////////////////////////////////////////////////////////////////////////// // // (C) Copyright Ion Gaztanaga 2007-2026. Distributed under the Boost // Software License, Version 1.0. (See accompanying file // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // // See http://www.boost.org/libs/container for documentation. // ////////////////////////////////////////////////////////////////////////////// // // Compares boost::container::devector against boost::container::deque and // boost::container::vector. // ////////////////////////////////////////////////////////////////////////////// #include //std::allocator #include #include #include #include "bench_vector_common.hpp" template void run_containers(unsigned numit, unsigned numele, bool bp) { vector_test_template< bc::devector >, Operation >(numit, numele, "devector ", bp); vector_test_template< bc::deque >, Operation >(numit, numele, "deque ", bp); vector_test_template< bc::vector >, Operation >(numit, numele, "vector ", bp); } int main() { test_vectors(); return 0; }