MoveableSortedRange.contains

Returns true if and only if value can be found in range, which is assumed to be sorted. Performs O(log(r.length)) evaluations of pred. See_Also: STL's binary_search.

struct MoveableSortedRange(Range, alias pred = "a < b")
bool
contains
(
V
)
()
if (
isRandomAccessRange!Range
)
if (
isInputRange!Range
)

Meta