The function object comparing Values. More...
#include <equal_to.hpp>
Public Types | |
typedef detail::equal_to < Value >::result_type | result_type |
The type of result returned by function object. More... | |
Public Member Functions | |
bool | operator() (Value const &l, Value const &r) const |
Compare Values. More... | |
The function object comparing Values.
The default version handles Values which are Indexables, std::pair<T1, T2>, boost::tuple<...> and std::tuple<...> if STD tuples and variadic templates are supported. All members are compared from left to right, Geometries using boost::geometry::equals() function, other types using operator==.
Value | The type of objects which are compared by this function object. |
typedef detail::equal_to<Value>::result_type boost::geometry::index::equal_to< Value >::result_type |
The type of result returned by function object.
|
inline |
Compare Values.
l | First value. |
r | Second value. |
References boost::geometry::index::detail::equal_to< Value, IsIndexable >::operator()().