mirror of
https://github.com/dlang/phobos.git
synced 2025-05-11 14:41:08 +03:00
Add Params:, Returns:, See_also: for setDifference.
This commit is contained in:
parent
7f261f7eb8
commit
a5f56f5716
1 changed files with 10 additions and 0 deletions
|
@ -856,6 +856,16 @@ unittest
|
|||
Lazily computes the difference of $(D r1) and $(D r2). The two ranges
|
||||
are assumed to be sorted by $(D less). The element types of the two
|
||||
ranges must have a common type.
|
||||
|
||||
Params:
|
||||
less = Predicate the given ranges are sorted by.
|
||||
r1 = The first range.
|
||||
r2 = The range to subtract from `r1`.
|
||||
|
||||
Returns:
|
||||
A range of the difference of `r1` and `r2`.
|
||||
|
||||
See_also: $(LREF setSymmetricDifference)
|
||||
*/
|
||||
struct SetDifference(alias less = "a < b", R1, R2)
|
||||
if (isInputRange!(R1) && isInputRange!(R2))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue