Standard C++ Library Class Reference
Click on the banner to return to the Class Reference home page.
©Copyright 1996 Rogue Wave Software
push_heap
 Algorithms
Summary
Places a new element into a heap.
Contents
Synopsis● 
Description● 
Complexity● 
Example● 
Warning● 
See Also● 
Synopsis
#include <algorithm>
template <class RandomAccessIterator>
 void
 push_heap(RandomAccessIterator first,
 RandomAccessIterator last);
template <class RandomAccessIterator, class Compare>
 void
 push_heap(RandomAccessIterator first,
 RandomAccessIterator last, Compare comp);










