Vec.this

Constructs a vector as a copy of the other.

  1. this(T[size] elements)
  2. this(T[] elements)
  3. this(T value)
  4. this(Vec!(T, size) other)
    struct Vec(T, size_t size)
    this
    (
    Vec!(T, size) other
    )
    if (
    isNumeric!T &&
    size > 0
    )

Parameters

other Vec!(T, size)

The vector to copy.

Meta