Closed
Description
We will want a user-defined allocator API in our standard library. It has been moved off of the 1.0 requirements, but it remains an important post 1.0 task.
See for reference:
- Implement allocators, integrate with box, smart pointers, containers rust#12038
- RFC: Allocator trait #39
- Allocator RFC, take II #244
- WIP: Add Faux allocator API rust#19320
- Allocators, take III #1398
Also, it is good to be aware of whatever happens with placement new and the box
syntax: See e.g. #413 (though that is arguably a draft RFC that has been filed as an issue).