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<Self>
where
A: 'static;
}
Steps / History
Unresolved Questions
Feature gate:
#![feature(const_box)]This is a tracking issue for implementing const
Box<T, A>methods.Public API
Steps / History
Box<T, A>methods #91884Unresolved Questions