I have to write a deque class for school and I am having a problem with the destructor. Each block of the deque holds a vector which is from the class block.
The block desturctor works but the Deque destructor has data loss when I run it.
I'm pretty sure it's because it's not destructing the Block inside the Deque but I'm
not for sure. Any help will be appreciated.