IntervalAVLTree.findOverlapsWith

find interval(s) overlapping given interval

unlike find interval by key, matching elements could be in left /and/ right subtree

We use template type "T" here instead of the enclosing struct's IntervalType so that we can from externally query with any type of interval object

TODO: benchmark return Node[]

struct IntervalAVLTree(IntervalType)
nothrow
Node*[]
findOverlapsWith
(
T
)
if (
__traits(hasMember, T, "start") &&
__traits(hasMember, T, "end")
)

Meta