Create a new shared 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 {} const auto sptr = newShared!A();
See Implementation
Create a new shared pointer of class type T, using allocator Allocator. T will be created by using constructor that accepts Args. The default allocator is Mallocator.