Open
Description
Feature gate: #![feature(box_as_ptr)]
This is a tracking issue for Box::as_ptr
and Box::as_mut_ptr
.
Public API
impl<T: ?Sized, A: Allocator> Box<T, A> {
pub fn as_mut_ptr(b: &mut Self) -> *mut T;
pub fn as_ptr(b: &Self) -> *const T;
}
Steps / History
- ACP: Add "as raw pointer" methods to
Box
libs-team#355 - Implementation: add Box::as_ptr and Box::as_mut_ptr methods #129091
- Final comment period (FCP)1
- Stabilization PR
Unresolved Questions
- None yet.