mirror of
https://github.com/dlang/phobos.git
synced 2025-04-30 15:10:46 +03:00
Add Params: and Returns: for nWayUnion.
This commit is contained in:
parent
6f0fbeb7d7
commit
7f261f7eb8
1 changed files with 7 additions and 0 deletions
|
@ -761,6 +761,13 @@ NWayUnion) is $(BIGOH n * ror.length * log(ror.length)), i.e., $(D
|
|||
log(ror.length)) times worse than just spanning all ranges in
|
||||
turn. The output comes sorted (unstably) by $(D less).
|
||||
|
||||
Params:
|
||||
less = Predicate the given ranges are sorted by.
|
||||
ror = A range of ranges sorted by `less` to compute the union for.
|
||||
|
||||
Returns:
|
||||
A range of the union of the ranges in `ror`.
|
||||
|
||||
Warning: Because $(D NWayUnion) does not allocate extra memory, it
|
||||
will leave $(D ror) modified. Namely, $(D NWayUnion) assumes ownership
|
||||
of $(D ror) and discretionarily swaps and advances elements of it. If
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue