mirror of
https://github.com/dlang/phobos.git
synced 2025-04-28 22:21:09 +03:00
Fix issue 16970 - Fix deprecations and warnings when compiling Phobos
This commit is contained in:
parent
9cbc862544
commit
3d98191ce9
6 changed files with 34 additions and 80 deletions
|
@ -2654,7 +2654,6 @@ template reduce(fun...) if (fun.length >= 1)
|
|||
If $(D r) is empty, an $(D Exception) is thrown.
|
||||
|
||||
Params:
|
||||
fun = one or more functions
|
||||
r = an iterable value as defined by $(D isIterable)
|
||||
|
||||
Returns:
|
||||
|
@ -2693,7 +2692,6 @@ template reduce(fun...) if (fun.length >= 1)
|
|||
Use $(D fold) instead of $(D reduce) to use the seed version in a UFCS chain.
|
||||
|
||||
Params:
|
||||
fun = one or more functions
|
||||
seed = the initial value of the accumulator
|
||||
r = an iterable value as defined by $(D isIterable)
|
||||
|
||||
|
@ -3170,7 +3168,6 @@ if (fun.length >= 1)
|
|||
Once `S` has been determined, then $(D S s = e;) and $(D s = f(s, e);) must
|
||||
both be legal.
|
||||
Params:
|
||||
fun = one or more functions
|
||||
range = an input range as defined by `isInputRange`
|
||||
Returns:
|
||||
a range containing the consecutive reduced values.
|
||||
|
@ -3189,7 +3186,6 @@ if (fun.length >= 1)
|
|||
`cumulativeFold` will operate on an unqualified copy. If this happens
|
||||
then the returned type will not perfectly match `S`.
|
||||
Params:
|
||||
fun = one or more functions
|
||||
range = an input range as defined by `isInputRange`
|
||||
seed = the initial value of the accumulator
|
||||
Returns:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue