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() (Value const &l, Value const &r) const | 
| Compare values.  More... | |
The function object comparing Values.
It compares Geometries using geometry::equals() function. Other types are compared using operator==. The default version handles Values which are Indexables. This template is also specialized for std::pair<T1, T2> and boost::tuple<...>.
| Value | The type of objects which are compared by this function object. | 
| IsIndexable | If true, Values are compared using boost::geometry::equals() functions. | 
| typedef bool boost::geometry::index::detail::equal_to< Value, IsIndexable >::result_type | 
The type of result returned by function object.
      
  | 
  inline | 
Compare values.
If Value is a Geometry geometry::equals() function is used.
| l | First value. | 
| r | Second value. | 
Referenced by boost::geometry::index::equal_to< Value >::operator()().