http://qs321.pair.com?node_id=1206162


in reply to A proper name for is_sorted function that can check more than just sorting order?

I would try to place the words all and reduce in the name of the function so the users would get the semantics by references to other well-known standard library functions.

Clearly, naming things and off-by-one errors are the three hardest things in programming.