RedBlackTree.opBinaryRight

in operator. Check to see if the given element exists in the container.

Complexity: O(log(n))

class RedBlackTree(T, alias less = "a < b", bool allowDuplicates = false)
const
bool
opBinaryRight
(
string op
)
if (
op == "in"
)
if (
is(typeof(
(
ref const T a
)
=> binaryFun!less(a, a)
))
)

Meta