At https://stackoverflow.com/a/19954882/683710 I just learned the reason for C++11 having https://en.cppreference.com/w/cpp/algorithm/minmax_element Calculating the min and max simultaneously reduces the number of comparisons with 1/4. Should we add a minmaxElement alongside minElement and maxElement?