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

Method find

src/fl/stl/flat_map.h:136–142  ·  view source on GitHub ↗

Lookup

Source from the content-addressed store, hash-verified

134
135 // Lookup
136 iterator find(const Key& key) FL_NOEXCEPT {
137 auto it = lower_bound(key);
138 if (it != end() && !mLess(key, it->first) && !mLess(it->first, key)) {
139 return it;
140 }
141 return end();
142 }
143
144 const_iterator find(const Key& key) const FL_NOEXCEPT {
145 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