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

◆ count()

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

Definition at line 110 of file flat_set.h.

110 {
111 return find(key) != end() ? 1 : 0;
112 }
iterator end()
Definition flat_set.h:76
iterator find(const Key &key)
Definition flat_set.h:94

References end(), and find().

Referenced by erase(), lower_bound(), lower_bound(), upper_bound(), and upper_bound().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: