replaceSlice

Modifies array in-place so that slice is replaced by replacement[].

WARNING: it's you who is responsible that slice is indeed a slice of s.

void
replaceSlice
(
T
U
)
(
ref T[] s
,
in U[] slice
,)
if (
is(Unqual!U == T)
)

Meta