MCPcopy Create free account
hub / github.com/FastLED/FastLED / highest

Method highest

src/fl/stl/map.h:79–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77 }
78
79 template <typename Less> iterator highest(Less less_than = Less()) {
80 iterator highest = end();
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 }
88
89 template <typename Less>
90 const_iterator highest(Less less_than = Less()) const {

Callers

nothing calls this directly

Calls 3

endFunction · 0.70
beginFunction · 0.70
LessClass · 0.50

Tested by

no test coverage detected