Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Function template heap_merge

boost::heap::heap_merge

Synopsis

// In header: <boost/heap/heap_merge.hpp>


template<typename Heap1, typename Heap2> 
  void heap_merge(Heap1 & lhs, Heap2 & rhs);

Description

merge rhs into lhs

Effect: lhs contains all elements that have been part of rhs, rhs is empty.


PrevUpHomeNext