| 19176 | } |
| 19177 | |
| 19178 | size_type count(const key_type& key) const |
| 19179 | { |
| 19180 | for (auto it = this->begin(); it != this->end(); ++it) |
| 19181 | { |
| 19182 | if (m_compare(it->first, key)) |
| 19183 | { |
| 19184 | return 1; |
| 19185 | } |
| 19186 | } |
| 19187 | return 0; |
| 19188 | } |
| 19189 | |
| 19190 | template<class KeyType, detail::enable_if_t< |
| 19191 | detail::is_usable_as_key_type<key_compare, key_type, KeyType>::value, int> = 0> |
no test coverage detected