Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Function template is_disjoint

boost::itl::is_disjoint

Synopsis

template<class Type , class AssociateT > 
  boost::enable_if< is_inter_derivative< Type, AssociateT >, bool >::type 
  is_disjoint(const Type & left, const AssociateT & right);

Description

Returns true, if left and right have no common elements. Intervals are interpreted as sequence of elements. Complexity: logarithmic, if AssociateT is an element type Type::element_type. linear, if AssociateT is a segment type Type::segment_type.


PrevUpHomeNext