include
ecl
mpl
if.hpp
Go to the documentation of this file.
1
8
/*****************************************************************************
9
** Ifdefs
10
*****************************************************************************/
11
12
#ifndef ECL_MPL_IF_HPP_
13
#define ECL_MPL_IF_HPP_
14
15
/*****************************************************************************
16
** Namespaces
17
*****************************************************************************/
18
19
namespace
ecl
{
20
34
template
<
bool
Condition,
typename
T1,
typename
T2>
35
struct
if_c {
36
typedef
T1
type
;
37
};
38
50
template
<
typename
T1,
typename
T2>
51
struct
if_c<false,T1,T2> {
52
typedef
T2
type
;
53
};
54
55
}
// namespace ecl
56
57
#endif
/* ECL_MPL_IF_HPP_ */
ecl::if_c::type
T1 type
Definition:
if.hpp:44
ecl
Embedded control libraries.
ecl_mpl
Author(s): Daniel Stonier
autogenerated on Wed Mar 2 2022 00:16:18