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)
    mixintemplate IndexMixin(size_t N, alias KeyFromValue, alias Hash, alias Eq, bool allowDuplicates, alias SeqRange, ThisContainer)
    const
    static if(!isImplicitlyConvertible!(KeyType, ValueView))
    bool
    opBinaryRight
    (
    string op
    )
    if (
    op == "in"
    )
  2. bool opBinaryRight(ValueView value)

Meta