#include <iterators.h>
|
template<typename t_list1 , typename t_list2 > |
static int | compare (const t_list1 &p_list1, const t_list2 &p_list2) |
|
template<typename t_comparator = comparator_default>
class pfc::comparator_list< t_comparator >
Definition at line 85 of file iterators.h.
template<typename t_comparator = comparator_default>
template<typename t_list1 , typename t_list2 >
static int pfc::comparator_list< t_comparator >::compare |
( |
const t_list1 & |
p_list1, |
|
|
const t_list2 & |
p_list2 |
|
) |
| |
|
inlinestatic |
Definition at line 88 of file iterators.h.
89 typename t_list1::const_iterator iter1 = p_list1.first();
90 typename t_list2::const_iterator iter2 = p_list2.first();
92 if (iter1.is_empty() && iter2.is_empty())
return 0;
93 else if (iter1.is_empty())
return -1;
94 else if (iter2.is_empty())
return 1;
97 if (state != 0)
return state;
int compare(t1 const &p1, t2 const &p2)
The documentation for this class was generated from the following file: