66 lines
2.1 KiB
Plaintext
66 lines
2.1 KiB
Plaintext
[/ Generated by doxygen_xml2qbk 1.1.1, don't change, will be overwritten automatically]
|
|
[/ Generated from xml/structboost_1_1geometry_1_1index_1_1equal__to.xml]
|
|
[#structboost_1_1geometry_1_1index_1_1equal__to]
|
|
[section boost::geometry::index::equal_to]
|
|
|
|
'''<indexterm><primary>boost</primary></indexterm><indexterm><primary>geometry</primary></indexterm><indexterm><primary>index</primary></indexterm><indexterm><primary>equal_to</primary></indexterm>'''
|
|
The function object comparing Values.
|
|
|
|
[heading Description]
|
|
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==.
|
|
|
|
[heading Header]
|
|
`#include <boost/geometry/index/equal_to.hpp>`
|
|
|
|
[heading Synopsis]
|
|
[pre
|
|
`template<``typename Value``>`
|
|
`struct equal_to`
|
|
`{`
|
|
` // ...`
|
|
`};`
|
|
]
|
|
|
|
[heading Template parameter(s)]
|
|
[table
|
|
[[Parameter] [Description]]
|
|
[[`Value`][The type of objects which are compared by this function object. ]]
|
|
]
|
|
|
|
[heading Typedef(s)]
|
|
[table
|
|
[[Type] [Description]]
|
|
[[[#structboost_1_1geometry_1_1index_1_1equal__to_1ae6a986988e380c2ba4afa646294cfd93] `result_type`][The type of result returned by function object. ]]
|
|
]
|
|
|
|
[heading Member(s)]
|
|
[table
|
|
[[Modifier][Function][Description]]
|
|
[[ `const`][[link structboost_1_1geometry_1_1index_1_1equal__to_1aaeece0d0d4cc09ee939b85db0c08b584 `operator()(Value const &, Value const &)`]][Compare Values. ]]
|
|
]
|
|
|
|
[#structboost_1_1geometry_1_1index_1_1equal__to_1aaeece0d0d4cc09ee939b85db0c08b584]
|
|
[section operator()(Value const &, Value const &)]
|
|
'''<indexterm><primary>operator()</primary></indexterm>'''
|
|
Compare Values.
|
|
|
|
[heading Synopsis]
|
|
[pre
|
|
|
|
`bool` `operator()``(``Value const &` `l``,` `Value const &` `r``)`
|
|
]
|
|
|
|
[heading Modifier(s)]
|
|
``const ``[heading Parameter(s)]
|
|
[table
|
|
[[Type][Name][Description]]
|
|
[[`Value const &`][ `l` ][First value. ]]
|
|
[[`Value const &`][ `r` ][Second value. ]]
|
|
]
|
|
[heading Returns]
|
|
true if Values are equal.
|
|
[endsect]
|
|
|
|
[endsect]
|
|
|