template <class Object> // HeapTree interface class HeapTree : public InspectableBinaryTree, PositionalContainer { public: Position add(const Object &elem); // add new last node Object remove(); // remove last node };