Vec.this

Constructs a vector where all elements have the given value.

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

Parameters

value T

The value to assign to all elements in the vector.

Meta