I am writing a program using vector and am wondering if my destructor is correct, or do I need to add another line. The clear, clears all the elements in the vector, but do I need to add another line to delete the vector, and if I do what line should I add. I tried delete empID and varations of that and all I got was error messages.
heap::~heap(){
empID.clear();
}
empID is the name of the vector and it is ints.