Function emplacable::box_new

source ·
pub fn box_new<T>(x: T) -> Box<T>where
    T: ?Sized,
Expand description

Like Box::new, but T can be ?Sized.

You will need #![feature(unsized_fn_params)] to call this.