////////////////////////////////////////////////////////////////////////////// // // (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::segtor (reservable and non-reservable) against // boost::container::deque (reservable and non-reservable). // ////////////////////////////////////////////////////////////////////////////// #include //std::allocator #include #include #include #include "bench_vector_common.hpp" template void run_containers(runner& r) { //First registered container is the baseline (denominator). r.template add< bc::deque > >("deque"); r.template add< bc::deque, typename bc::deque_options >::type> >("deque(resv)"); r.template add< bc::segtor > >("segtor"); r.template add< bc::segtor, typename bc::segtor_options >::type> >("segtor(resv)"); } int main() { test_vectors(); return 0; }