21 namespace range_detail
23 bool overlaps( Rel lhs, Rel rhs,
int cmp );
33 template<
class _Tp,
class _Compare = Compare<_Tp> >
67 template<
class _Tp,
class _Compare>
74 template<
class _Tp,
class _Compare>
78 return( lhs.
op == rhs.
op
87 template<
class _Tp,
class _Compare>
90 {
return ! ( lhs == rhs ); }
95 #endif // ZYPP_RANGE_H
bool operator!=(const CountryCode &lhs, const CountryCode &rhs)
Range()
Default ctor: Rel::ANY.
bool overlaps(const Range &rhs) const
Return whether two Ranges overlap.
bool overlaps(Rel lhs, Rel rhs, int cmp)
Compute Range overlaps.
Range(Rel op_r, const _Tp &value_r)
Ctor taking Rel and _Tp.
bool operator==(const StrMatcher &lhs, const StrMatcher &rhs)
bool overlaps(const Range< _Tp, _Compare > &lhs, const Range< _Tp, _Compare > &rhs)
Range(const _Tp &value_r)
Ctor taking _Tp (Rel::EQ).