Tracking Issue for const_box · Issue #92521 · rust-lang/rust (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

@lilasta

Description

@lilasta

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

Unresolved Questions