Inserts elements from a static array before r.
Static array size.
Range extracted from this list.
New elements.
The number of elements inserted.
Precondition: r is extracted from this list.
auto l1 = SList!int([5, 234, 30, 1]); auto l2 = SList!int([5, 1]); auto r = l2[]; r.popFront(); l2.insertBefore(r, [234, 30]); assert(l1 == l2);
See Implementation
Inserts elements from a static array before r.