zypp::Compare< _Tp > Struct Template Reference
[Comparison using relational operator zypp::Rel.]

General compare functor returning -1, 0, 1. More...

#include <RelCompare.h>

Inheritance diagram for zypp::Compare< _Tp >:

binary_function List of all members.

Public Member Functions

int operator() (const _Tp &lhs, const _Tp &rhs) const

Detailed Description

template<class _Tp>
struct zypp::Compare< _Tp >

General compare functor returning -1, 0, 1.

Expects _Tp::compare to be a static comaprison method returning -1, 0, 1 if the elements compare <,==,>.

Definition at line 86 of file RelCompare.h.


Member Function Documentation

template<class _Tp>
int zypp::Compare< _Tp >::operator() const _Tp &  lhs,
const _Tp &  rhs
const [inline]
 

Definition at line 88 of file RelCompare.h.


The documentation for this struct was generated from the following file:
Generated on Thu Jul 6 00:07:31 2006 for zypp by  doxygen 1.4.6