The OpenD Programming Language

RedBlackTree.dup

Duplicate this container. The resulting container contains a shallow copy of the elements.

Complexity: O(n)

class RedBlackTree(T, alias less = "a < b", bool allowDuplicates = false)
@property
dup
()
if (
is(typeof(binaryFun!less(T.init, T.init)))
)

Meta