Open
Description
Bumpalo's Box
is missing a Clone implementation, which is a pretty big departure from std
's Box
. Bringing it back would require storing a &Bump
inside the Box
in addition to the &mut T
to be able to allocate a new value inside the same arena.
That is also the way std
is implemented:
https://doc.rust-lang.org/src/alloc/boxed.rs.html#198-201
Metadata
Metadata
Assignees
Labels
No labels
Activity