Go to the source code of this file.
Functions | |
template<class _InputIter1 , class _InputIter2 > | |
const bool | intersects (_InputIter1 __first1, _InputIter1 __last1, _InputIter2 __first2, _InputIter2 __last2) |
Intersection tester using operator< for comparison. More... | |
template<class _InputIter1 , class _InputIter2 , class _Compare > | |
const bool | intersects (_InputIter1 __first1, _InputIter1 __last1, _InputIter2 __first2, _InputIter2 __last2, _Compare __comp) |
Intersection tester using a function object for comparison. More... | |
const bool intersects | ( | _InputIter1 | __first1, |
_InputIter1 | __last1, | ||
_InputIter2 | __first2, | ||
_InputIter2 | __last2 | ||
) |
Intersection tester using operator<
for comparison.
Returns true if the ordered intervals [__first1,__last1)
and [__first2,__last2)
intersect each other. The intervals are ordered by operator<
.
Definition at line 14 of file BCP_set_intersects.hpp.
const bool intersects | ( | _InputIter1 | __first1, |
_InputIter1 | __last1, | ||
_InputIter2 | __first2, | ||
_InputIter2 | __last2, | ||
_Compare | __comp | ||
) |
Intersection tester using a function object for comparison.
Returns true if the ordered intervals [__first1,__last1)
and [__first2,__last2)
intersect each other. The intervals are ordered by the function object _comp
, which takes two arguments and returns true if and only if the first argument is considered smaller than the second one.
Definition at line 34 of file BCP_set_intersects.hpp.