IndexMixin.opBinaryRight

Reports whether a value exists in the collection such that eq(k, key(value)). Complexity: O(n) (O(1) on a good day)

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

Meta