Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
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