The function object comparing Values. More...
#include <equal_to.hpp>
Public Types | |
typedef bool | result_type |
The type of result returned by function object. More... | |
Public Member Functions | |
bool | operator() (std::pair< T1, T2 > const &l, std::pair< T1, T2 > const &r) const |
Compare values. 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. |
typedef bool boost::geometry::index::detail::equal_to< std::pair< T1, T2 >, false >::result_type |
The type of result returned by function object.
|
inline |
Compare values.
If pair<> Value member is a Geometry geometry::equals() function is used.
l | First value. |
r | Second value. |
References boost::geometry::index::detail::equals< Geometry, Tag >::apply().