Boost
C++ Libraries
...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
This is an older version of Boost and was released in 2017. The current version is 1.90.0.
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==.
#include <boost/geometry/index/equal_to.hpp>
template<typename Value>struct equal_to{// ...};
|
Parameter |
Description |
|---|---|
|
|
The type of objects which are compared by this function object. |
|
Modifier |
Function |
Description |
|---|---|---|
|
|
Compare Values. |
booloperator()(Value const &l,Value const &r)
const
|
Type |
Name |
Description |
|---|---|---|
|
|
|
First value. |
|
|
|
Second value. |
true if Values are equal.