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-2024, 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
template
<
typename
T >
12
struct
enable_if
<true, T> {
13
using
type
= T;
14
};
15
16
template
<
bool
Condition,
typename
T =
void
>
17
using
enable_if_t
=
typename
enable_if< Condition, T >::type
;
enable_if_t
typename enable_if< Condition, T >::type enable_if_t
Definition:
enable_if.hpp:17
enable_if< true, T >::type
T type
Definition:
enable_if.hpp:13
enable_if
Definition:
enable_if.hpp:9
Generated by
1.9.6