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

◆ lowest() [2/2]

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

Definition at line 69 of file map.h.

69 {
71 for (const_iterator it = begin(); it != end(); ++it) {
72 if (lowest == end() || less_than(it->first, lowest->first)) {
73 lowest = it;
74 }
75 }
76 return lowest;
77 }
iterator end()
Definition map.h:36
iterator lowest(Less less_than=Less())
Definition map.h:58
iterator begin()
Definition map.h:35
VectorType::const_iterator const_iterator
Definition map.h:30