Greetings!
Why not overload std::min_element and std::max_element to accept only one argument, which is an appropriate container type, instead of sending starting and ending forward iterators? Would it take much overhead in the library?
Not that it's a big deal to type two arguments each time, but still.
Regards,
Oto