min
September 4, 2019 ยท View on GitHub
Description : Compares two values, returning the smallest.
Example:
int a = 7, b = 3;
auto smallest = std::min(a, b);
// prints 3
std::cout << smallest << " ";
September 4, 2019 ยท View on GitHub
Description : Compares two values, returning the smallest.
Example:
int a = 7, b = 3;
auto smallest = std::min(a, b);
// prints 3
std::cout << smallest << " ";