skipOverBack

If startsWith(r1, r2), consume the corresponding elements off r1 and return true. Otherwise, leave r1 unchanged and return false.

bool
skipOverBack
(
alias pred = "a == b"
R1
R2
)
(
ref R1 r1
,
R2 r2
)
if (
is(typeof(binaryFun!pred(r1.back, r2.back)))
)

Meta