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

Function make_heap

uspace/lib/cpp/include/__bits/algorithm.hpp:982–988  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

980
981 template<class RandomAccessIterator>
982 void make_heap(RandomAccessIterator first,
983 RandomAccessIterator last)
984 {
985 using value_type = typename iterator_traits<RandomAccessIterator>::value_type;
986
987 make_heap(first, last, less<value_type>{});
988 }
989
990 template<class RandomAccessIterator, class Compare>
991 void make_heap(RandomAccessIterator first,

Callers 2

sortFunction · 0.85
priority_queueMethod · 0.85

Calls 2

distanceFunction · 0.85
correct_childrenFunction · 0.85

Tested by

no test coverage detected