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

Method emplace

src/fl/stl/multi_set.h:224–229  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

222
223 template<typename... Args>
224 iterator emplace(Args&&... args) {
225 value_type temp(fl::forward<Args>(args)...);
226 ValueWithId vwid(fl::move(temp), mNextId++);
227 auto result = mTree.insert(fl::move(vwid));
228 return iterator(result.first);
229 }
230
231 // Range insert
232 template <typename InputIt>

Callers

nothing calls this directly

Calls 2

iteratorClass · 0.70
insertMethod · 0.45

Tested by

no test coverage detected