boost::geometry::index::detail::equal_to
equal_to.hpp
typename Value Value
bool IsIndexable IsIndexable is_indexable<Value>::value
bool typedef bool boost::geometry::index::detail::equal_to< Value, IsIndexable >::result_type result_type result_type

The type of result returned by function object.

bool bool boost::geometry::index::detail::equal_to< Value, IsIndexable >::operator() (Value const &l, Value const &r) const operator() operator() Value const & l Value const & r

Compare values. If Value is a Geometry geometry::equals() function is used.

l

First value.

r

Second value.

true if values are equal.

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.

- boost::geometry::index::detail::equal_to
  operator()
- boost::geometry::index::detail::equal_to
  result_type