DynamicArray.dup

struct DynamicArray(T, Allocator = Mallocator, Capacity = size_t)
@property const
static if(__traits(isCopyable, T) && !is(T == union))
@trusted => typeof(this).withElements(this[])
DynamicArray!(MT, Allocator, Capacity)
dup
()
()
if (
!is(immutable T == immutable bool) &&
(
is(Capacity == ulong) ||
is(Capacity == uint)
)
&&
isAllocator!Allocator
)

Return Value

Type: DynamicArray!(MT, Allocator, Capacity)

shallow duplicate of this.

Meta