bench_flat_multiset.cpp 876 B

1234567891011121314151617181920212223242526272829
  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 "boost/container/flat_set.hpp"
  12. #include "bench_set.hpp"
  13. int main()
  14. {
  15. using namespace boost::container;
  16. fill_range_ints();
  17. fill_range_strings();
  18. //flat_set vs set
  19. launch_tests< flat_multiset<int> , multiset<int> >
  20. ("flat_multiset<int>", "multiset<int>");
  21. launch_tests< flat_multiset<string> , multiset<string> >
  22. ("flat_multiset<string>", "multiset<string>");
  23. return 0;
  24. }