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

◆ highest() [2/2]

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

Definition at line 106 of file map.h.

106 {
108 for (const_iterator it = begin(); it != end(); ++it) {
109 if (highest == end() || less_than(highest->first, it->first)) {
110 highest = it;
111 }
112 }
113 return highest;
114 }
iterator end()
Definition map.h:44
iterator begin()
Definition map.h:41
iterator highest(Less less_than=Less())
Definition map.h:95
VectorType::const_iterator const_iterator
Definition map.h:35