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 79 of file map.h.

79 {
81 for (iterator it = begin(); it != end(); ++it) {
82 if (highest == end() || less_than(highest->first, it->first)) {
83 highest = it;
84 }
85 }
86 return highest;
87 }
VectorType::iterator iterator
Definition map.h:29
iterator end()
Definition map.h:36
iterator begin()
Definition map.h:35
iterator highest(Less less_than=Less())
Definition map.h:79