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)
    @nogc
    this
    if (
    isNumeric!T &&
    size > 0
    )
  3. this(T value)
  4. this(MY_TYPE other)

Parameters

elements T[]

The elements to put in the vector.

Meta