Boost C++ Libraries 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.

Struct template store_parent_pointer

boost::heap::store_parent_pointer — Store parent pointer in heap node.


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

template<bool T> 
struct store_parent_pointer {


Maintaining a parent pointer adds some maintenance and size overhead, but iterating a heap is more efficient.