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

Method find

src/fl/stl/flat_set.h:94–100  ·  view source on GitHub ↗

Lookup

Source from the content-addressed store, hash-verified

92
93 // Lookup
94 iterator find(const Key& key) {
95 auto it = lower_bound(key);
96 if (it != end() && !mLess(key, *it) && !mLess(*it, key)) {
97 return it;
98 }
99 return end();
100 }
101
102 const_iterator find(const Key& key) const {
103 auto it = lower_bound(key);

Callers

nothing calls this directly

Calls 2

lower_boundFunction · 0.70
endFunction · 0.70

Tested by

no test coverage detected