boost::itl::intersects
template<class DomainT , ITL_COMPARE Compare> bool intersects(const itl::interval< DomainT, Compare > & left, const itl::interval< DomainT, Compare > & right);
Returns true if the intersection of left and right is not empty.
left
right