cds
2.3.2
|
[type-option] Option setter for opt::equal_to
predicate
More...
#include <cds/opt/compare.h>
[type-option] Option setter for opt::equal_to
predicate
The option sets a binary predicate that tests whether a value of a specified type is equal to another value of that type. Functor
interface is similar to std::equal_to
predicate interface. The standard predicate std::equal_to
can act as Functor:
In addition, the option setter may sets non-standard 2-type (or even N-type) predicate (std::binary_function
):
Generally, the default type for Functor
is std::equal_to
but it depends on the container used.