ADC Home > Reference Library > Reference > Darwin > Miscellaneous User Space API Reference
|
stl_heap.h |
This is an internal header file, included by other library headers. You should not attempt to use it directly.
make_heap(_RandomAccessIterator, _RandomAccessIterator) |
template<typename _RandomAccessIterator> void make_heap( _RandomAccessIterator __first, _RandomAccessIterator __last)
first
last
@brief Construct a heap over a range.
make_heap(_RandomAccessIterator, _RandomAccessIterator, _Compare) |
template<typename _RandomAccessIterator, typename _Compare> inline void make_heap( _RandomAccessIterator __first, _RandomAccessIterator __last, _Compare __comp)
first
last
comp
@brief Construct a heap over a range using comparison functor.
sort_heap(_RandomAccessIterator, _RandomAccessIterator) |
template<typename _RandomAccessIterator> void sort_heap( _RandomAccessIterator __first, _RandomAccessIterator __last)
first
last
@brief Sort a heap.
sort_heap(_RandomAccessIterator, _RandomAccessIterator, _Compare) |
template<typename _RandomAccessIterator, typename _Compare> void sort_heap( _RandomAccessIterator __first, _RandomAccessIterator __last, _Compare __comp)
first
last
comp
@brief Sort a heap using comparison functor.
pop_heap |
template<typename _RandomAccessIterator> inline void pop_heap( _RandomAccessIterator __first, _RandomAccessIterator __last)
@brief Pop an element off a heap.
pop_heap |
template<typename _RandomAccessIterator, typename _Compare> inline void pop_heap( _RandomAccessIterator __first, _RandomAccessIterator __last, _Compare __comp)
@brief Pop an element off a heap using comparison functor.
push_heap |
template<typename _RandomAccessIterator> inline void push_heap( _RandomAccessIterator __first, _RandomAccessIterator __last)
@brief Push an element onto a heap.
push_heap |
template<typename _RandomAccessIterator, typename _Compare> inline void push_heap( _RandomAccessIterator __first, _RandomAccessIterator __last, _Compare __comp)
@brief Push an element onto a heap using comparison functor.