MCPcopy Create free account
hub / github.com/HelenOS/helenos / priority_queue

Method priority_queue

uspace/lib/cpp/include/__bits/adt/queue.hpp:213–217  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

211
212 public:
213 priority_queue(const compare_type& cmp, const container_type& cc)
214 : comp{cmp}, c{cc}
215 {
216 make_heap(c.begin(), c.end(), comp);
217 }
218
219 explicit priority_queue(const compare_type& cmp = compare_type{},
220 container_type&& cc = container_type{})

Callers

nothing calls this directly

Calls 5

make_heapFunction · 0.85
moveFunction · 0.85
beginMethod · 0.45
endMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected