The OpenD Programming Language

Tuple.this

Constructor taking a compatible array.

  1. this(Types values)
  2. this(U[n] values)
    struct Tuple
    this
    (
    U
    size_t n
    )
    (
    U[n] values
    )
    if (
    n == Types.length &&
    allSatisfy!(isBuildableFrom!U, Types)
    )
  3. this(U another)

Parameters

values U[n]

A compatible static array to build the Tuple from. Array slices are not supported.

Examples

int[2] ints;
Tuple!(int, int) t = ints;

Meta