Vec.this

Constructs a vector from a variadic list of elements.

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

Parameters

elements T[]

The elements to put in the vector.

Meta