MergeArray.makeWith

Static factory method using Alloc to allocate a new shared MergeArray.

struct MergeArray(Obj)
static
shared(MergeArray)*
makeWith
(
Alloc
ObjArgs...
)
(,
size_t width
,
ObjArgs args
)
if (
is(Obj == struct) &&
!is(Obj == shared)
)

Parameters

parent H

The Handle which this is being created for.

width size_t

The size of the internal Obj[].

args ObjArgs

Arguments for the constructor of each Obj.

Return Value

Type: shared(MergeArray)*

A pointer to the new shared MergeArray.

Meta