max() template according to Stepanov Notes intentionally return
b<a?a:b
instead of
a<b?b:a
to ensure that the function behaves correctly even if the two values are equivalent but not equal Few explanations over here but still couldn't understand http://stepanovpapers.com/notes.pdf (page 63)
I am not able to think of a use case when two values will be equivalent but not equal