| 257 | // Return a (Entry*, found) pair. |
| 258 | template <typename CmpFunc> |
| 259 | std::pair<Entry*, bool> Lookup(hash_t h, CmpFunc&& cmp_func) { |
| 260 | auto p = Lookup<DoCompare, CmpFunc>(h, entries_, capacity_mask_, |
| 261 | std::forward<CmpFunc>(cmp_func)); |
| 262 | return {&entries_[p.first], p.second}; |
| 263 | } |
| 264 | |
| 265 | template <typename CmpFunc> |
| 266 | std::pair<const Entry*, bool> Lookup(hash_t h, CmpFunc&& cmp_func) const { |
no outgoing calls
no test coverage detected