The OpenD Programming Language

assumeSortedEqualIndex.assumeSortedEqualIndex

  1. sizediff_t assumeSortedEqualIndex(Slice!(Iterator, 1, kind) slice, V v)
  2. sizediff_t assumeSortedEqualIndex(T[] ar, V v)
    template assumeSortedEqualIndex(alias test = "a < b")
    static if(__traits(isSame, naryFun!test, test))
    sizediff_t
    assumeSortedEqualIndex
    (
    T
    V
    )
    (
    scope T[] ar
    ,
    auto ref scope const V v
    )

Parameters

v V

value to test with. It is passed to second argument.

Meta