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 <T> fn new(...args) -> *T;new<T>Allocates memory for a type and calls its constructor with the specified arguments (equivalent to ‘new T(args…)’)
Tfn <T> fn new(...args) -> *T;