dupShallow

T
dupShallow
(
T
)
(
in T a
)
if (
is(typeof(T.init[])) &&
!is(T == const(U)[],
U
)
&&
__traits(isCopyable, ElementType!T)
)

Return Value

Type: T

shallow duplicate of a.

Meta