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

Method find

src/fl/stl/map.h:40–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38 const_iterator end() const { return data.end(); }
39
40 iterator find(const Key &key) {
41 for (auto it = begin(); it != end(); ++it) {
42 if (it->first == key) {
43 return it;
44 }
45 }
46 return end();
47 }
48
49 const_iterator find(const Key &key) const {
50 for (auto it = begin(); it != end(); ++it) {

Callers

nothing calls this directly

Calls 2

beginFunction · 0.70
endFunction · 0.70

Tested by

no test coverage detected