The OpenD Programming Language

transitionIndex.transitionIndex

  1. size_t transitionIndex(Slice!(Iterator, 1, kind) slice, V v)
  2. size_t transitionIndex(T[] ar, V v)
    template transitionIndex(alias test = "a < b")
    static if(__traits(isSame, naryFun!test, test))
    size_t
    transitionIndex
    (
    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