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

Method insert

src/fl/stl/multi_map.h:316–320  ·  view source on GitHub ↗

Insert always succeeds for multimap

Source from the content-addressed store, hash-verified

314
315 // Insert always succeeds for multimap
316 iterator insert(const value_type& value) {
317 ValueWithId vwid(value, mNextId++);
318 auto result = mTree.insert(vwid);
319 return iterator(result.first);
320 }
321
322 iterator insert(value_type&& value) {
323 ValueWithId vwid(fl::move(value), mNextId++);

Callers 1

emplaceMethod · 0.45

Calls 2

iteratorClass · 0.70
insertFunction · 0.70

Tested by

no test coverage detected