Double free corruption means you deallocate some memory twice.
Let me add a question: do you really want to implement your own deque? Because there already exists one in the STL.
Double free corruption means you deallocate some memory twice.
Let me add a question: do you really want to implement your own deque? Because there already exists one in the STL.
all 11 comments