Vector.tuple

Gets the vector as a constant tuple.

struct Vector(T, char[] c)
pure nothrow @property @safe @nogc const
Tuple
tuple
()
if (
c.length > 1 &&
areValidCoordinates(c)
)

Examples

auto v = vector(0, 3, 4);
assert(v.tuple == typeof(v).Tuple(0, 3, 4));

Meta