21 namespace range_detail
23 bool overlaps( Rel lhs, Rel rhs,
int cmp );
33 template<
class Tp,
class TCompare = Compare<Tp> >
64 template<
class Tp,
class TCompare>
71 template<
class Tp,
class TCompare>
75 return( lhs.
op == rhs.
op
83 template<
class Tp,
class TCompare>
86 {
return ! ( lhs == rhs ); }
bool overlaps(Rel lhs, Rel rhs, int cmp)
Compute Range overlaps.
Easy-to use interface to the ZYPP dependency resolver.
bool operator==(const SetRelation::Enum &lhs, const SetCompare &rhs)
This is an overloaded member function, provided for convenience. It differs from the above function o...
bool overlaps(const Range< Tp, TCompare > &lhs, const Range< Tp, TCompare > &rhs)
bool operator!=(const SetRelation::Enum &lhs, const SetCompare &rhs)
This is an overloaded member function, provided for convenience. It differs from the above function o...
Range(Rel op_r, const Tp &value_r)
Ctor taking Rel and Tp.
Range(const Tp &value_r)
Ctor taking Tp (Rel::EQ).
Range()
Default ctor: Rel::ANY.
bool overlaps(const Range &rhs) const
Return whether two Ranges overlap.