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

Method lowest

src/fl/stl/map.h:58–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56 }
57
58 template <typename Less> iterator lowest(Less less_than = Less()) {
59 iterator lowest = end();
60 for (iterator it = begin(); it != end(); ++it) {
61 if (lowest == end() || less_than(it->first, lowest->first)) {
62 lowest = it;
63 }
64 }
65 return lowest;
66 }
67
68 template <typename Less>
69 const_iterator lowest(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