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

Method emplace

src/fl/stl/priority_queue.h:96–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94
95 template<typename... Args>
96 void emplace(Args&&... args) {
97 _data.emplace_back(fl::forward<Args>(args)...);
98 push_heap(_data.begin(), _data.end(), _comp);
99 }
100
101 void pop() {
102 pop_heap(_data.begin(), _data.end(), _comp);

Callers

nothing calls this directly

Calls 4

push_heapFunction · 0.85
emplace_backMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected