H
hpsoar
It seems that SGI allocator didn't take much measures to prevent
pointer overange. Because I found that the chunk_alloc function
returns a pointer that may point to the middle of a chunk of memory
(the memory pool). Anyway, I think the most possible reason is that I
didn't know enough about the allocator, for SGI STL is really a great
STL. While If anyone can make some explanations, I'll be really
gratefull.
pointer overange. Because I found that the chunk_alloc function
returns a pointer that may point to the middle of a chunk of memory
(the memory pool). Anyway, I think the most possible reason is that I
didn't know enough about the allocator, for SGI STL is really a great
STL. While If anyone can make some explanations, I'll be really
gratefull.