IntervalTreeNode.this

non-default ctor: construct Node from interval, update max side note: D is beautiful in that Node(i) will work just fine without this constructor since its first member is IntervalType interval, but we need the constructor to update max.

struct IntervalTreeNode(IntervalType)
@safe @nogc nothrow
this
(
IntervalType i
)
if (
__traits(hasMember, IntervalType, "start") &&
__traits(hasMember, IntervalType, "end")
)

Meta