Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Function template is_disjoint

boost::itl::is_disjoint

Synopsis

template<class LeftT , class RightT > 
  boost::enable_if< is_inter_combinable< LeftT, RightT >, bool >::type 
  is_disjoint(const LeftT & left, const RightT & right);

Description

Returns true, if left and right have no common elements. Intervals are interpreted as sequence of elements. Complexity: loglinear, if left and right are interval containers.


PrevUpHomeNext