push_heap

The function push_heap is used to add an element to a heap.

  template<class RandomAccessIterator>
  void push_heap
  (RandomAccessIterator first, RandomAccessIterator last);
  template<class RandomAccessIterator, class Compare>
  void push_heap
  (RandomAccessIterator first,
  RandomAccessIterator last,Compare comp);
  
Remarks

There is no value returned.