std::Legacy::new<T>
new<T>
Allocates memory for a type and calls its constructor with the specified arguments (equivalent to ‘new T(args…)’)
Template Parameters
T
Signature
fn new(...args) -> *T requires <T>;
new<T>
Allocates memory for a type and calls its constructor with the specified arguments (equivalent to ‘new T(args…)’)
T
fn new(...args) -> *T requires <T>;