• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 
11 #include "bench_set.hpp"
12 #include <boost/container/set.hpp>
13 #include <boost/container/allocator.hpp>
14 
main()15 int main()
16 {
17    using namespace boost::container;
18 
19    fill_range_ints();
20    fill_range_strings();
21 
22    //set<..., version_2> vs. set
23    launch_tests< set<int, std::less<int>, allocator<int> >, set<int> >
24       ("set<int, ..., allocator<int>", "set<int>");
25    launch_tests< set<string, std::less<string>, allocator<string> >, set<string> >
26       ("set<string, ..., allocator<string>", "set<string>");
27 
28    return 0;
29 }
30