I like to pass std::max or std::min into a function. One can write code like this
std::max
std::min
Definition of the function
void foo (std::funct