| 176 | |
| 177 | template <class Visitor> |
| 178 | void Iterate(Visitor visitor) |
| 179 | { |
| 180 | for (uint32_t bucket = 0; bucket < HashSize; bucket++) { |
| 181 | Node * item = HashTable[bucket]; |
| 182 | while (item != nullptr) { |
| 183 | visitor(item->Key, item->Value); |
| 184 | item = item->Next; |
| 185 | } |
| 186 | } |
| 187 | } |
| 188 | }; |
| 189 | |
| 190 | template <class ValueType> |
nothing calls this directly
no outgoing calls
no test coverage detected