Description This WG wants to associate an allocator for all suitable structs. This issue tracks those structs, which are covered so far (non-exhaustive list):
Box<T, A>: Support custom allocators in Box rust#77187
Rc<T, A>: Add support for allocators in Rc & Arc rust#89132
Arc<T, A>: Add support for allocators in Rc & Arc rust#89132
String<A>: [WIP] Add support for custom allocator for String rust#101551
CString<A>: Add support for custom allocator for (C)String rust#79500
Vec<T, A>: Add support for custom allocators in Vec rust#78461
VecDeque<T, A>: Add support for custom allocator in VecDeque rust#86595
LinkedList<T, A>: Add support for allocators in LinkedList rust#103093
HashMap<K, V, S, A>: Parametrize RawTable, HashSet and HashMap over an allocator hashbrown#133
BTreeMap<K, V, A>: BTreeMap: Support custom allocators (v1.5) rust#98103
HashSet<T, S, A>
BTreeSet<T, A>: BTreeMap: Support custom allocators (v1.5) rust#98103
BinaryHeap<T, A>: Make BinaryHeap parametric over Allocator rust#99339
(OsString<A>)
(PathBuf<A>)
Reactions are currently unavailable
You can’t perform that action at this time.
This WG wants to associate an allocator for all suitable structs. This issue tracks those structs, which are covered so far (non-exhaustive list):
Box<T, A>: Support custom allocators inBoxrust#77187Rc<T, A>: Add support for allocators inRc&Arcrust#89132Arc<T, A>: Add support for allocators inRc&Arcrust#89132String<A>: [WIP] Add support for custom allocator forStringrust#101551CString<A>: Add support for custom allocator for(C)Stringrust#79500Vec<T, A>: Add support for custom allocators inVecrust#78461VecDeque<T, A>: Add support for custom allocator inVecDequerust#86595LinkedList<T, A>: Add support for allocators inLinkedListrust#103093HashMap<K, V, S, A>: Parametrize RawTable, HashSet and HashMap over an allocator hashbrown#133BTreeMap<K, V, A>: BTreeMap: Support custom allocators (v1.5) rust#98103HashSet<T, S, A>BTreeSet<T, A>: BTreeMap: Support custom allocators (v1.5) rust#98103BinaryHeap<T, A>: Make BinaryHeap parametric over Allocator rust#99339OsString<A>)PathBuf<A>)