PROBI
1.0
Main Page
Classes
Files
File List
All
Classes
Functions
Helper.hpp
1
#ifndef HELPER_H
2
#define HELPER_H
3
4
template
<
typename
T>
5
T
const
* toPointer(T
const
&
object
)
6
{
7
return
&object;
8
}
9
10
template
<
typename
T>
11
T* toPointer(T &
object
)
12
{
13
return
&object;
14
}
15
16
template
<
typename
T>
17
T
const
* toPointer(T
const
*
object
)
18
{
19
return
object;
20
}
21
22
template
<
typename
T>
23
T* toPointer(T*
object
)
24
{
25
return
object;
26
}
27
28
#endif
probi-source
Helper.hpp
Generated on Wed Aug 28 2013 20:04:15 for PROBI by
1.8.4