| 484 | |
| 485 | template <typename Key, typename Mapped, typename Hash, typename Equals, typename Allocator> |
| 486 | size_t FlatHashMap<Key, Mapped, Hash, Equals, Allocator>::count(key_type const& key) const { |
| 487 | if (m_table.find(key) != m_table.end()) |
| 488 | return 1; |
| 489 | else |
| 490 | return 0; |
| 491 | } |
| 492 | |
| 493 | template <typename Key, typename Mapped, typename Hash, typename Equals, typename Allocator> |
| 494 | auto FlatHashMap<Key, Mapped, Hash, Equals, Allocator>::find(key_type const& key) const -> const_iterator { |