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

90 {
92 for (const_iterator it = begin(); it != end(); ++it) {
93 if (highest == end() || less_than(highest->first, it->first)) {
94 highest = it;
95 }
96 }
97 return highest;
98 }
iterator end()
Definition map.h:36
iterator begin()
Definition map.h:35
iterator highest(Less less_than=Less())
Definition map.h:79
VectorType::const_iterator const_iterator
Definition map.h:30