inline SetCompare compare(
const base::SetRelationMixin<DERIVED_TYPE> & src, OTHER_TYPE trg ) \
{ return src.compare( DERIVED_TYPE(trg) ); } \
inline
SetCompare compare( OTHER_TYPE src,
const base::SetRelationMixin<DERIVED_TYPE> & trg ) \
{ return DERIVED_TYPE(src).compare( trg ); } \
\
inline
bool compare(
const base::SetRelationMixin<DERIVED_TYPE> & src, OTHER_TYPE trg,
SetCompare cmp ) \
{ return src.compare( DERIVED_TYPE(trg), cmp ); } \
inline
bool compare( OTHER_TYPE src,
const base::SetRelationMixin<DERIVED_TYPE> & trg,
SetCompare cmp ) \
{ return DERIVED_TYPE(src).compare( trg, cmp ); } \
\
inline
bool compare(
const base::SetRelationMixin<DERIVED_TYPE> & src, OTHER_TYPE trg,
SetRelation rel ) \
{ return src.compare( DERIVED_TYPE(trg), rel ); } \
inline
bool compare( OTHER_TYPE src,
const base::SetRelationMixin<DERIVED_TYPE> & trg,
SetRelation rel ) \
{ return DERIVED_TYPE(src).compare( trg, rel ); } \
\
inline
bool operator==(
const base::SetRelationMixin<DERIVED_TYPE> & src, OTHER_TYPE trg ) \
{ return src.compare( DERIVED_TYPE(trg), SetRelation::equal ); } \
inline
bool operator==( OTHER_TYPE src,
const base::SetRelationMixin<DERIVED_TYPE> & trg ) \
{ return DERIVED_TYPE(src).compare( trg, SetRelation::equal ); } \
\
inline
bool operator!=(
const base::SetRelationMixin<DERIVED_TYPE> & src, OTHER_TYPE trg ) \
{ return !( src == trg ); } \
inline
bool operator!=( OTHER_TYPE src,
const base::SetRelationMixin<DERIVED_TYPE> & trg ) \
{ return !( src == trg ); }
base::EnumClass< ESetRelationDef > SetRelation
relates: ESetRelationDef typedef 'enum class SetRelation'
base::EnumClass< ESetCompareDef > SetCompare
relates: ESetCompareDef typedef 'enum class SetCompare'
bool operator==(const SetRelationMixin< Derived > &src, const SetRelationMixin< Derived > &trg)
relates: SetRelationMixin Equal
bool compare(const SetRelationMixin< Derived > &src, const SetRelationMixin< Derived > &trg, SetRelation rel)
relates: SetRelationMixin Compare sets and match against SetRelation
bool operator!=(const SetRelationMixin< Derived > &src, const SetRelationMixin< Derived > &trg)
relates: SetRelationMixin Unequal
relates: SetRelationMixin Define compare between Derived and some other type (e.g.