Closed shurunxuan closed 3 years ago
A clear() function call makes the size of vec_offset 0, and an index operation happens right after the clear(), causing an out-of-bound exception, regardless of the platform targeted and the compiler used.
clear()
vec_offset
A
clear()
function call makes the size ofvec_offset
0, and an index operation happens right after theclear()
, causing an out-of-bound exception, regardless of the platform targeted and the compiler used.