I was trying to write a pretty simple class to a binary file. The class includes a couple integers, some other stuff and a deque. All went well writing and reading the data, but when I added elements to the deque I got a dialog box that said:
"Debug Assertion Failed!"
This only seems to happen as the program is exiting because when I set a breakpoint right before it exited, the program ran fine up to it and all the data seems intact. I am completly stumped on this and I couldn't find anything that helped online. Does anyone know what the error means or anything I can do to fix it?