_d_newarraymTX
Create a new multi-dimensional array. Also initalize elements if their type has an initializer. Otherwise, not zero-initialize the array.
void main()
{
S[][] s = new S[][](2, 3)
// lowering:
S[] s = _d_newarraymTX!(S[][], S)([2, 3]);
}Parameters
dims | array length values for each dimension |
isShared | whether the array should be shared |
Returns
newly allocated array