skipOverAmong

Variadic version of skipOver.

size_t
skipOverAmong
(
alias pred = "a == b"
Range
Ranges...
)
(
scope ref Range haystack
,
scope Ranges needles
)
if (
Ranges.length >= 2
)

Return Value

Type: size_t

index + 1 into matching needles, 0 otherwise.

TODO: Reuse skipOver with many needles or write own array-version of skipOver that's faster.

Meta