bench_set_multi.cpp 862 B

123456789101112131415161718192021222324252627282930
  1. //////////////////////////////////////////////////////////////////////////////
  2. //
  3. // (C) Copyright Ion Gaztanaga 2013-2013. Distributed under the Boost
  4. // Software License, Version 1.0. (See accompanying file
  5. // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  6. //
  7. // See http://www.boost.org/libs/container for documentation.
  8. //
  9. //////////////////////////////////////////////////////////////////////////////
  10. #include "boost/container/set.hpp"
  11. #include <set>
  12. #include "bench_set.hpp"
  13. int main()
  14. {
  15. using namespace boost::container;
  16. fill_range_ints();
  17. fill_range_strings();
  18. //multiset vs std::multiset
  19. launch_tests< multiset<int> , std::multiset<int> >
  20. ("multiset<int>", "std::multiset<int>");
  21. launch_tests< multiset<string> , std::multiset<string> >
  22. ("multiset<string>", "std::multiset<string>");
  23. return 0;
  24. }