Create a new unique pointer of class type T, using allocator Allocator. T will be created by using constructor that accepts Args. The default allocator is Mallocator.
class A {} immutable auto unique = newUnique!A();
See Implementation
Create a new unique pointer of class type T, using allocator Allocator. T will be created by using constructor that accepts Args. The default allocator is Mallocator.