Class BinaryHeap::Element

Nested Relationships

This class is a nested type of Template Class BinaryHeap.

Class Documentation

class Element

When an element is added to the heap, an instance of Element* is created. This instance contains the data that was added and internal information about the position of the data in the heap’s internal storage.

Public Members

_T data

The data of this element.