binarySearch

This function returns the index of the value if it exist among values, size_t.max otherwise.

size_t
binarySearch
(
T
U
)
(
const T[] values
,
in U value
)
if (
is(typeof(T[0].init == U.init))
)

Meta