DynamicArray.withLengthElementValue

Construct using - initial length length, - and value of all elements elementValue.

struct DynamicArray(T, Allocator = Mallocator, Capacity = size_t)
static
static if(__traits(isCopyable, T))
typeof(this)
withLengthElementValue
()
(
in size_t length
,)
if (
!is(immutable T == immutable bool) &&
(
is(Capacity == ulong) ||
is(Capacity == uint)
)
&&
isAllocator!Allocator
)

Meta