A binary function or a function object that returns true or false. compare objects are typically passed as template parameters, and used for ordering elements within a container.
binary_function, Function Objects