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
using
type
= TrueType;
10
};
11
12
template
<
class
TrueType,
class
FalseType >
13
struct
conditional
<false, TrueType, FalseType> {
14
using
type
= FalseType;
15
};
16
17
template
<
bool
Condition,
class
TrueType,
class
FalseType>
18
using
conditional_t
=
19
typename
conditional<Condition, TrueType, FalseType>::type
;
20
conditional_t
typename conditional< Condition, TrueType, FalseType >::type conditional_t
Definition:
conditional.hpp:19
conditional< false, TrueType, FalseType >::type
FalseType type
Definition:
conditional.hpp:14
conditional
Definition:
conditional.hpp:8
conditional::type
TrueType type
Definition:
conditional.hpp:9
Generated by
1.9.6