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

Method push

src/fl/stl/priority_queue.h:85–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83 PriorityQueue(const Compare &comp, memory_resource* resource) : _data(resource), _comp(comp) {}
84
85 void push(const T &value) {
86 _data.push_back(value);
87 push_heap(_data.begin(), _data.end(), _comp);
88 }
89
90 void push(T &&value) {
91 _data.push_back(fl::move(value));

Callers 2

pushMethod · 0.45
emplaceMethod · 0.45

Calls 4

push_heapFunction · 0.85
push_backMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected