Sign in Join
FPDoc Onlineexperiment

TAVLTree.FreeAndDelete procedure

Member of TAVLTreepublicIn unit AVL_Tree

Delete a node from the tree and destroy it.

Declaration

pascal
procedure FreeAndDelete(ANode: TAVLTreeNode); virtual

Arguments

ANode

Node which must be deleted.

Description

FreeAndDelete deletes a node from the tree, and destroys the data pointer: The data pointer in the nodes is assumed to be an object, and is freed by calling its destructor.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.