FastLED 3.9.15
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages

◆ find() [2/2]

template<typename Key, typename Value, size_t N>
const_iterator fl::FixedMap< Key, Value, N >::find ( const Key & key) const
inline

Definition at line 63 of file map.h.

63 {
64 for (auto it = begin(); it != end(); ++it) {
65 if (it->first == key) {
66 return it;
67 }
68 }
69 return end();
70 }
iterator end()
Definition map.h:44
iterator begin()
Definition map.h:41