3-phase PV router
Loading...
Searching...
No Matches
Mk2_3phase_RFdatalog_temp
type_traits
is_enum.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
#include "
is_class.hpp
"
8
#include "
is_convertible.hpp
"
9
#include "
is_floating_point.hpp
"
10
#include "
is_integral.hpp
"
11
#include "
is_same.hpp
"
12
13
template
<
typename
T >
14
struct
is_enum
{
15
static
const
bool
value
=
is_convertible<T, long long>::value
&&
16
!
is_class<T>::value
&& !
is_integral<T>::value
&&
17
!
is_floating_point<T>::value
;
18
};
is_class.hpp
is_convertible.hpp
is_floating_point.hpp
is_integral.hpp
is_same.hpp
is_class
Definition:
is_class.hpp:10
is_convertible
Definition:
is_convertible.hpp:23
is_enum
Definition:
is_enum.hpp:14
is_enum::value
static const bool value
Definition:
is_enum.hpp:15
is_floating_point
Definition:
is_floating_point.hpp:15
is_integral
Definition:
is_integral.hpp:25
Generated by
1.9.6