Pothos
0.7.0-gf7fbae99
The Pothos dataflow programming software suite
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
Definition:
ArchiveEntry.hpp:20
Pothos::Util::compareTo
int compareTo(const T0 &v0, const T1 &v1)
Definition:
CompareTo.hpp:27
Generated on Tue Apr 10 2018 20:23:42 for Pothos by
1.8.13