cpp
C++ prettydarknwild 12 months ago 66%

double free or corruption (out) when using allocator.deallocate()

i was trying to create a deque, and when the function that resizes the array is excuted, it crashes with the error from the title, and when i delete the deallocate() it stops happening, what im doing wrong? code: https://pastebin.com/0yHHcLnj

1
11
Comments 11