Creates an object of type T and calls its constructor if necessary.
Description:
This is an equivalent for D's new opetator. It allocates arrays,
classes and structs on a heap using currently set globalAllocator.
Arguments to this function are passed to constructor.
Creates an object of type T and calls its constructor if necessary.
Description: This is an equivalent for D's new opetator. It allocates arrays, classes and structs on a heap using currently set globalAllocator. Arguments to this function are passed to constructor.