YAPOG
0.0.1
Yet Another Pokemon Online Game
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
LessComparator.hxx
Go to the documentation of this file.
1
#ifndef YAPOG_LESSCOMPARATOR_HXX
2
# define YAPOG_LESSCOMPARATOR_HXX
3
4
namespace
yap
5
{
6
template
<
typename
T>
7
inline
LessComparator<T>::LessComparator
()
8
{
9
}
10
11
template
<
typename
T>
12
inline
LessComparator<T>::~LessComparator
()
13
{
14
}
15
16
template
<
typename
T>
17
inline
LessComparator<T>::LessComparator
(
const
LessComparator<T>
& copy)
18
{
19
}
20
21
template
<
typename
T>
22
inline
LessComparator<T>
&
LessComparator<T>::operator=
(
23
const
LessComparator<T>
& copy)
24
{
25
return
*
this
;
26
}
27
28
template
<
typename
T>
29
inline
bool
LessComparator<T>::operator()
(
30
const
T& left,
31
const
T& right)
const
32
{
33
return
Compare (left, right) < 0;
34
}
35
36
template
<
typename
T>
37
inline
int
LessComparator<T>::Compare
(
const
T& left,
const
T& right)
const
38
{
39
return
HandleCompare (left, right);
40
}
41
}
// namespace yap
42
43
#endif // YAPOG_LESSCOMPARATOR_HXX
YAPOG
include
YAPOG
System
LessComparator.hxx
Generated on Mon Sep 17 2012 22:24:24 for YAPOG by
1.8.1.1