cpp/algorithm/min

Returns the smaller of the given values.

@1-2@ Returns the smaller of and.

@3-4@ Returns the smallest of the values in initializer list.

Overloads use  to compare the values, overloads  use the given comparison function.

Return value
@1-2@ The smaller of and. If the values are equivalent, returns.

@3-4@ The smallest value in. If several values are equivalent to the smallest, returns the leftmost such value.

Complexity
@1-2@ Exactly one comparison

@3-4@ Exactly comparisons