The OpenD Programming Language

SList.dup

Duplicates the container. The elements themselves are not transitively duplicated.

Complexity: O(n).

struct SList(T)
@property
dup
()
if (
!is(T == shared)
)

Meta