OpenMining
0.01
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Friends
Macros
Pages
utils
between.h
Go to the documentation of this file.
1
#ifndef between_h
2
#define between_h
3
7
namespace
utils
8
{
16
template
<
class
T>
17
bool
between
(
const
T& val,
const
T& minval,
const
T& maxval)
18
{
19
bool
retval =
false
;
20
if
((val >= minval) && (val <= maxval))
21
retval =
true
;
22
return
(retval);
23
}
24
}
25
26
#endif
utils::between
bool between(const T &val, const T &minval, const T &maxval)
Definition:
between.h:17
Generated on Tue Feb 4 2014 11:05:43 for OpenMining by
1.8.6