29 #ifndef LIB_TEST_TEST_COLL_H 30 #define LIB_TEST_TEST_COLL_H 33 #include <unordered_map> 43 typedef std::vector<int> VecI;
47 getTestSeq_int(
const uint NUM_ELMS)
50 for (uint i=0; i<NUM_ELMS; ++i)
57 typedef std::map<int,int> MapII;
58 typedef std::multimap<int,int> MMapII;
60 typedef std::unordered_map<int,int> HMapII;
61 typedef std::unordered_multimap<int,int> HMMapII;
66 getTestMap_int(
const uint NUM_ELMS)
69 for (uint i=0; i<NUM_ELMS; ++i)
77 getTestMultiMap_int(
const uint NUM_ELMS)
80 for (uint i=0; i<NUM_ELMS; ++i)
81 for (uint j=NUM_ELMS-i; j; --j)
82 map.insert (std::make_pair (i, j));
91 pullOut (ITER
const& i)
93 for (ITER ii(i); ii ; ++ii )
94 std::cout <<
"::" << *ii;
Implementation namespace for support and library code.