dup

Create a new associative array of the same size and copy the contents of the associative array into it.

  1. V[K] dup(T aa)
    V[K]
    dup
    (
    T : V[K]
    K
    V
    )
    (
    T aa
    )
  2. auto dup(T[] a)
  3. T[] dup(const(T)[] a)

Parameters

aa
Type: T

The associative array.

Suggestion Box / Bug Report