Implementation of heap allocator for std containers