Debug assertion failed BLOCK_TYPE_IS_VALID(pHead->nblockuse) from Deconstructor
问题 I am quite lost right now. I made a vector class. Everything works how I would like it to work, until the end. When the destructor is called I get an error message: Debug assertion failed BLOCK_TYPE_IS_VALID(pHead->nblockuse). I've seen quite a few questions like this one on SO, but what I have tried hasn't worked. part of .h. private: int* _myArray; int _size; int _capacity; #include "File.h" const string RETURN_CARRIAGE_STR = "\n"; const string SIZE_STR = "Size "; const string CAPACITY_STR