Skip to content

Commit

Permalink
Add Params:, Returns: to setIntersection.
Browse files Browse the repository at this point in the history
  • Loading branch information
H. S. Teoh committed Sep 5, 2015
1 parent a5f56f5 commit a7cafe1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions std/algorithm/setops.d
Expand Up @@ -961,6 +961,13 @@ SetDifference!(less, R1, R2) setDifference(alias less = "a < b", R1, R2)
Lazily computes the intersection of two or more input ranges $(D
ranges). The ranges are assumed to be sorted by $(D less). The element
types of the ranges must have a common type.
Params:
less = Predicate the given ranges are sorted by.
ranges = The ranges to compute the intersection for.
Returns:
A range containing the intersection of the given ranges.
*/
struct SetIntersection(alias less = "a < b", Rs...)
if (Rs.length >= 2 && allSatisfy!(isInputRange, Rs) &&
Expand Down

0 comments on commit a7cafe1

Please sign in to comment.