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

Method erase

src/fl/stl/flat_map.h:334–340  ·  view source on GitHub ↗

Deletion

Source from the content-addressed store, hash-verified

332
333 // Deletion
334 iterator erase(iterator pos) FL_NOEXCEPT {
335 // Vector erase() returns iterator in some versions, bool in others
336 // To be safe, erase and return the next element
337 iterator next = pos + 1;
338 mData.erase(pos);
339 return next;
340 }
341
342 iterator erase(const_iterator pos) FL_NOEXCEPT {
343 // Convert const_iterator to iterator and erase

Callers

nothing calls this directly

Calls 3

endFunction · 0.70
findFunction · 0.70
eraseFunction · 0.70

Tested by

no test coverage detected