splicer3

Specialization of splicerN to N=3.

@trusted
splicer3
(
T
)
(
T[] x
)

Examples

immutable int[6] x = [0, 1, 3, 3, 4, 5];
immutable y = x.splicer3;
assert(y.first.equal(x[0 .. 2]));
assert(y.second.equal(x[2 .. 4]));
assert(y.third.equal(x[4 .. $]));

Meta