libzypp
10.5.0
|
Functor to compare two elements by Rel based on a general _Compare functor. More...
#include <RelCompare.h>
Public Member Functions | |
CompareBy (Rel op_r) | |
bool | operator() (const _Tp &lhs, const _Tp &rhs) const |
Public Attributes | |
Rel | _op |
Functor to compare two elements by Rel based on a general _Compare functor.
Expects _Compare to be suitable for use in compareByRel. Defaults to Compare<_Tp>.
Definition at line 159 of file RelCompare.h.
zypp::CompareBy< _Tp, _Compare >::CompareBy | ( | Rel | op_r | ) | [inline] |
Definition at line 161 of file RelCompare.h.
bool zypp::CompareBy< _Tp, _Compare >::operator() | ( | const _Tp & | lhs, |
const _Tp & | rhs | ||
) | const [inline] |
Definition at line 165 of file RelCompare.h.
Rel zypp::CompareBy< _Tp, _Compare >::_op |
Definition at line 168 of file RelCompare.h.