IndexMixin.opBinaryRight

Reports whether value exists in this collection. Complexity: O(n) (O(n 1) on a good day)

  1. bool opBinaryRight(KeyType k)
  2. bool opBinaryRight(ValueView value)
    mixin template IndexMixin(size_t N, alias KeyFromValue, alias Hash, alias Eq, bool allowDuplicates, alias SeqRange, ThisContainer)
    bool
    opBinaryRight
    const
    (
    string op
    )
    (
    ValueView value
    )
    if (
    op == "in"
    )

Meta