3-phase PV router
Loading...
Searching...
No Matches
Mk2_3phase_RFdatalog_temp
type_traits
enable_if.hpp
Go to the documentation of this file.
1
// ArduinoJson - https://arduinojson.org
2
// Copyright © 2014-2023, Benoit BLANCHON
3
// MIT License
4
5
#pragma once
6
7
// A meta-function that return the type T if Condition is true.
8
template
<
bool
Condition,
typename
T =
void
>
9
struct
enable_if
10
{
11
};
12
13
template
<
typename
T >
14
struct
enable_if
< true, T >
15
{
16
typedef
T
type
;
17
};
18
19
template
<
bool
B,
class
T =
void
>
20
using
enable_if_t
=
typename
enable_if< B, T >::type
;
enable_if_t
typename enable_if< B, T >::type enable_if_t
Definition:
enable_if.hpp:20
enable_if< true, T >::type
T type
Definition:
enable_if.hpp:16
enable_if
Definition:
enable_if.hpp:10
Generated by
1.9.6