Vector.dup

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

Complexity: O(n).

  1. Vector!(T, ALLOC) dup [@property getter]
    struct Vector(T, ALLOC = ThreadMem)
    @property const
    Vector!(T, ALLOC)
    dup
    ()
  2. RefCounted!(Vector!(T, ALLOC), ALLOC) dupr [@property getter]

Meta