Tracking Issue for const_box
· Issue #92521 · rust-lang/rust (original) (raw)
Navigation Menu
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Description
Feature gate: #![feature(const_box)]
This is a tracking issue for implementing const Box<T, A>
methods.
Public API
impl<T, A: Allocator> Box<T, A> { pub const unsafe fn from_raw_in(raw: *mut T, alloc: A) -> Self; pub const fn allocator(b: &Self) -> &A; pub const fn into_pin(boxed: Self) -> Pin where A: 'static; }
Steps / History
- Implementation: Constify Box<T, A> methods #91884
- Final comment period (FCP)
- Stabilization PR
Unresolved Questions
- None