3-phase PV router
Loading...
Searching...
No Matches
Mk2_3phase_RFdatalog_temp
type_traits
integral_constant.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
<
typename
T, T v >
8
struct
integral_constant
9
{
10
static
const
T
value
= v;
11
};
12
13
template
<
bool
B >
14
using
bool_constant
=
integral_constant< bool, B >
;
15
16
using
true_type
=
bool_constant< true >
;
17
using
false_type
=
bool_constant< false >
;
false_type
bool_constant< false > false_type
Definition
integral_constant.hpp:17
bool_constant
integral_constant< bool, B > bool_constant
Definition
integral_constant.hpp:14
true_type
bool_constant< true > true_type
Definition
integral_constant.hpp:16
integral_constant
Definition
integral_constant.hpp:9
integral_constant< bool, B >< true >::value
static const bool value
Definition
integral_constant.hpp:10
Generated by
1.13.2