| 192 | |
| 193 | template<typename FT, typename KT> |
| 194 | inline bool vector_contains(const std::vector<FT> &vec, KT key) |
| 195 | { |
| 196 | return binsearch_index(vec, key) >= 0; |
| 197 | } |
| 198 | |
| 199 | template<typename CT, typename FT> |
| 200 | inline bool vector_contains(const std::vector<CT*> &vec, FT CT::*field, FT key) |
no test coverage detected