Pothos
0.4.0-gd11861cd
The Pothos dataflow programming software suite
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Friends
Macros
Pages
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 Tue Aug 2 2016 14:49:03 for Pothos by
1.8.6