Pothos
0.2.1-g9f04573d
The Pothos dataflow programming software suite
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Friends
Macros
include
Pothos
Util
CompareTo.hpp
Go to the documentation of this file.
1
11
#pragma once
12
#include <
Pothos/Config.hpp
>
13
#include <typeinfo>
14
#include <string>
15
16
namespace
Pothos {
17
namespace
Util {
18
26
template
<
typename
T0,
typename
T1>
27
int
compareTo
(
const
T0 &v0,
const
T1 &v1)
28
{
29
if
(v0 == v1)
return
0;
30
if
(v0 < v1)
return
-1;
31
else
return
+1;
32
}
33
34
}
//namespace Util
35
}
//namespace Pothos
Config.hpp
Pothos::Util::compareTo
int compareTo(const T0 &v0, const T1 &v1)
Definition:
CompareTo.hpp:27
Generated on Wed Aug 26 2015 16:53:35 for Pothos by
1.8.6