Searched defs:IndexedSet (Results 1 – 1 of 1) sorted by relevance
53 template <typename T, unsigned N = 32> struct IndexedSet { struct54 IndexedSet() { Map.reserve(N); } in IndexedSet() argument56 T get(uint32_t Idx) const { in get()62 uint32_t insert(T Val) { in insert()71 uint32_t find(T Val) const { in find()77 uint32_t size() const { return Map.size(); } in size()79 using const_iterator = typename std::vector<T>::const_iterator;81 const_iterator begin() const { return Map.begin(); } in begin()82 const_iterator end() const { return Map.end(); } in end()