Vector.dup

Duplicates the vector, mantaing the type, variables' names and their value.

struct Vector(T, char[] c)
alias dup = type!T

Examples

assert(vector(1, 1).dup == vector(1, 1));

Meta