The function object comparing Values. More...
#include <equal_to.hpp>
Public Types | |
typedef bool | result_type |
The type of result returned by function object. | |
Public Member Functions | |
bool | operator() (std::pair< T1, T2 > const &l, std::pair< T1, T2 > const &r) const |
Compare values. If pair<> Value member is a Geometry geometry::equals() function is used. More... | |
The function object comparing Values.
This specialization compares values of type std::pair<T1, T2>. It compares pairs' first values, then second values.
T1 | The first type. |
T2 | The second type. |
|
inline |
Compare values. If pair<> Value member is a Geometry geometry::equals() function is used.
l | First value. |
r | Second value. |