NiHu
2.0
real_part_type.hpp
1
#ifndef REAL_PART_TYPE_HPP_INCLUDED
2
#define REAL_PART_TYPE_HPP_INCLUDED
3
4
namespace
NiHu
5
{
6
9
template
<
class
T>
10
struct
real_part_type
11
{
12
typedef
T type;
13
};
14
17
template
<
class
T>
18
struct
real_part_type
<std::complex<T> >
19
{
20
typedef
T type;
21
};
22
23
}
// end of namespace NiHu
24
25
#endif // REAL_PART_TYPE_HPP_INCLUDED
NiHu::real_part_type
metafunction returning the real scalar part type
Definition:
real_part_type.hpp:10
src
util
real_part_type.hpp
Generated on Sun Jan 19 2025 01:00:23 for NiHu by
1.8.18