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

◆ count()

template<typename Key, typename Value, typename Equal = fl::SmallMapEqualTo<Key>>
size_type fl::unordered_map_small< Key, Value, Equal >::count ( const Key & key) const
inline

Definition at line 280 of file unordered_map_small.h.

280 {
281 return find_index(key) != npos() ? 1 : 0;
282 }
static size_type npos() FL_NOEXCEPT
size_type find_index(const Key &key) const FL_NOEXCEPT

References find_index(), FL_NOEXCEPT, and npos().

+ Here is the call graph for this function: