Finish MaxHeap ctor, dtor and op=

This commit is contained in:
2020-07-11 20:35:49 -04:00
parent 4d917b2db8
commit be91573abc
3 changed files with 18 additions and 11 deletions

View File

@@ -22,7 +22,7 @@ class MaxHeap {
MaxHeap(const MaxHeap& rhs);
MaxHeap(int _size);
~MaxHeap();
const MaxHeap& operator=(const MaxHeap& rhs);
MaxHeap operator=(MaxHeap rhs);
void insert(int val);
void del();
void print();