Adding minmaxElement to Phobos?

Per Nordlöw per.nordlow at
Wed Sep 4 22:12:28 UTC 2019


I just learned the reason for C++11 having

Calculating the min and max simultaneously reduces the number of 
comparisons with 1/4.

Should we add a minmaxElement alongside minElement and maxElement?

More information about the Digitalmars-d mailing list