mirror of
https://github.com/dlang/phobos.git
synced 2025-05-06 19:16:13 +03:00
Add Params:, Returns: to std.algorithm.comparison.min.
This commit is contained in:
parent
7a6e685ec9
commit
f827ffaa24
1 changed files with 5 additions and 1 deletions
|
@ -1324,7 +1324,11 @@ private template MinType(T...)
|
|||
|
||||
// min
|
||||
/**
|
||||
Returns the minimum of the passed-in values.
|
||||
Iterates the passed arguments and returns the minimum value.
|
||||
|
||||
Params: args = The values to select the minimum from. At least two arguments
|
||||
must be passed, and they must be comparable with `<`.
|
||||
Returns: The minimum of the passed-in values.
|
||||
*/
|
||||
MinType!T min(T...)(T args)
|
||||
if (T.length >= 2)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue