I've known what the memory fragmentation is and why malloc or new in C/C++ can cause this issue.
Here is a link about memory fragmentation: What is memory fragmentation?
My question is if std::allocator can solve this issue effectively?
Saying that I have got a piece of memory with std::allocator, if I new and destruct frequently on this std::allocator, will I have the same issue: memory fragmentation? If so, is there some other methods to solve this issue in C++ level?