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

◆ lowest() [1/2]

template<typename Key, typename Value, size_t N>
template<typename Less>
iterator fl::FixedMap< Key, Value, N >::lowest ( Less less_than = Less())
inline

Definition at line 73 of file map.h.

73 {
75 for (iterator it = begin(); it != end(); ++it) {
76 if (lowest == end() || less_than(it->first, lowest->first)) {
77 lowest = it;
78 }
79 }
80 return lowest;
81 }
VectorType::iterator iterator
Definition map.h:34
iterator end()
Definition map.h:44
iterator lowest(Less less_than=Less())
Definition map.h:73
iterator begin()
Definition map.h:41