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

◆ highest() [1/2]

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

Definition at line 95 of file map.h.

95 {
97 for (iterator it = begin(); it != end(); ++it) {
98 if (highest == end() || less_than(highest->first, it->first)) {
99 highest = it;
100 }
101 }
102 return highest;
103 }
VectorType::iterator iterator
Definition map.h:34
iterator end()
Definition map.h:44
iterator begin()
Definition map.h:41
iterator highest(Less less_than=Less())
Definition map.h:95