ror.
See also: multiwayMerge
auto multiwayUnion(alias less = "a < b", RangeOfRanges)(RangeOfRanges ror)Computes the union of multiple ranges. The
input ranges are passedas a range of ranges and each is assumed to be sorted by less. Computation is done lazily, one union element at a time. multiwayUnion(ror) is functionally equivalent to multiwayMerge(ror).uniq.
"The output of multiwayUnion has no duplicates even when its inputs contain duplicates."
less | Predicate the given ranges are sorted by. |
ror | A range of ranges sorted by less to compute the intersection for. |
ror.
See also: multiwayMerge