3-phase PV router
Loading...
Searching...
No Matches
Mk2_3phase_RFdatalog_temp
type_traits
conditional.hpp
Go to the documentation of this file.
1
// ArduinoJson - https://arduinojson.org
2
// Copyright © 2014-2024, Benoit BLANCHON
3
// MIT License
4
5
#pragma once
6
7
template
<
bool
Condition,
class
TrueType,
class
FalseType >
8
struct
conditional
9
{
10
using
type
= TrueType;
11
};
12
13
template
<
class
TrueType,
class
FalseType >
14
struct
conditional
< false, TrueType, FalseType >
15
{
16
using
type
= FalseType;
17
};
18
19
template
<
bool
Condition,
class
TrueType,
class
FalseType >
20
using
conditional_t
=
21
typename
conditional< Condition, TrueType, FalseType >::type
;
conditional_t
typename conditional< Condition, TrueType, FalseType >::type conditional_t
Definition
conditional.hpp:20
conditional< false, TrueType, FalseType >::type
FalseType type
Definition
conditional.hpp:16
conditional
Definition
conditional.hpp:9
conditional::type
TrueType type
Definition
conditional.hpp:10
Generated by
1.13.2