operator & method

TreapBase<T, NodeT> operator &(
  1. TreapBase<T, NodeT> other
)

Operator overload for the intersection of two treaps.

Implementation

TreapBase<T, NodeT> operator &(TreapBase<T, NodeT> other) =>
    intersection(other);