libzypp  13.10.6
zypp::Compare< _Tp > Struct Template Reference

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

#include <RelCompare.h>

Inheritance diagram for zypp::Compare< _Tp >:

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: