SortedList.opBinary

Set operators. Enables math operations on sets, like unions and intersections. Could work on ranges in general as long as they implement some basic functions, like iteration.

struct SortedList(E, alias cmp = "a < b", bool allowDuplicates = true, alias equal = "a == b")
static if(!allowDuplicates)
SortedList!(E, cmp, allowDuplicates, equal)
opBinary
(
string op
R
)
(
R rhs
)

Meta