indexOfElement

Reimplementation of std.algorithm.indexOf, but with no auto-decoding.

sizediff_t
indexOfElement
(
T
D
)
(
in T[] arr
,
auto ref const D val
)
if (
is(typeof(arr[0] == val))
)

Meta