RedBlackTree.trisect

auto trisect(this This)(Elem e)

Returns a static array of 3 ranges r such that r[0] is the same as the result of lowerBound(value), r[1] is the same as the result of equalRange(value), and r[2] is the same as the result of upperBound(value).

Complexity: log(n)