FastLED 3.9.15
Loading...
Searching...
No Matches

◆ count()

template<typename Key, typename Value, typename Less = fl::less<Key>>
size_type fl::flat_map< Key, Value, Less >::count ( const Key & key) const
inline

Definition at line 152 of file flat_map.h.

152 {
153 return find(key) != end() ? 1 : 0;
154 }
iterator end() FL_NOEXCEPT
Definition flat_map.h:84
iterator find(const Key &key) FL_NOEXCEPT
Definition flat_map.h:136