Specialization of splicerN to N being 2.
immutable int[6] x = [0, 1, 2, 3, 4, 5]; immutable y = x.splicer2; assert(y.first.equal(x[0 .. 3])); assert(y.second.equal(x[3 .. $])); assert(y.at!0.equal(x[0 .. 3])); assert(y.at!1.equal(x[3 .. $]));
See Implementation
Specialization of splicerN to N being 2.