m4drat / memplusplus

C++ memory allocator with smart GC
54 stars 4 forks source link

Update std::allocator interface #47

Open m4drat opened 4 years ago

m4drat commented 4 years ago

We already have default std::allocator interface that uses Allocate/Deallocate functions directly. But we are going to get rid of these functions in the future (due to some problems described in #30). So we have to refactor this interface in such a way, so it's possible to use it without presence of Allocate/Deallocate methods.

m4drat commented 2 years ago

Currently I don't think that it is possible to implement such an interface. SA: https://stackoverflow.com/questions/65645904/implementing-a-custom-allocator-with-fancy-pointers