DynamicArray.withElements

Undocumented in source. Be warned that the author may not have intended to support it.
struct DynamicArray(T, Allocator = Mallocator, Capacity = size_t)
static @trusted
static if(__traits(isCopyable, T) && !is(T == union))
typeof(this)
withElements
()
(
scope const T[] elements
)
if (
!is(immutable T == immutable bool) &&
(
is(Capacity == ulong) ||
is(Capacity == uint)
)
&&
isAllocator!Allocator
)

Meta