20 #ifndef LIB_TEST_TEST_COLL_H 21 #define LIB_TEST_TEST_COLL_H 24 #include <unordered_map> 34 typedef std::vector<int> VecI;
38 getTestSeq_int (
const uint NUM_ELMS)
41 for (uint i=0; i<NUM_ELMS; ++i)
48 typedef std::map<int,int> MapII;
49 typedef std::multimap<int,int> MMapII;
51 typedef std::unordered_map<int,int> HMapII;
52 typedef std::unordered_multimap<int,int> HMMapII;
57 getTestMap_int (
const uint NUM_ELMS)
60 for (uint i=0; i<NUM_ELMS; ++i)
68 getTestMultiMap_int (
const uint NUM_ELMS)
71 for (uint i=0; i<NUM_ELMS; ++i)
72 for (uint j=NUM_ELMS-i; j; --j)
73 map.insert (std::make_pair (i, j));
82 pullOut (ITER
const& i)
84 for (ITER ii(i); ii ; ++ii )
85 std::cout <<
"::" << *ii;
Implementation namespace for support and library code.