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

Method emplace

src/fl/stl/multi_map.h:329–334  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

327
328 template<typename... Args>
329 iterator emplace(Args&&... args) {
330 value_type temp(fl::forward<Args>(args)...);
331 ValueWithId vwid(fl::move(temp), mNextId++);
332 auto result = mTree.insert(fl::move(vwid));
333 return iterator(result.first);
334 }
335
336 // Range insert
337 template <typename InputIt>

Callers

nothing calls this directly

Calls 2

iteratorClass · 0.70
insertMethod · 0.45

Tested by

no test coverage detected