Removes all of the elements from the heap.

Removes all of the elements from the heap.

Note:No memory of the elements themselves is freed.This function has a time complexity of O(N), with N being the number of elements in the heap.

**Parameters:****heap**- The heap to clear**Returns:**- void

This page was generated with the help of DOC++.