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-2023, 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
{
16
static
const
bool
value
=
is_convertible< T, int >::value
&& !
is_class< T >::value
&& !
is_integral< T >::value
&& !
is_floating_point< T >::value
;
17
};
is_class.hpp
is_convertible.hpp
is_floating_point.hpp
is_integral.hpp
is_same.hpp
is_class
Definition:
is_class.hpp:11
is_convertible
Definition:
is_convertible.hpp:23
is_enum
Definition:
is_enum.hpp:15
is_enum::value
static const bool value
Definition:
is_enum.hpp:16
is_floating_point
Definition:
is_floating_point.hpp:16
is_integral
Definition:
is_integral.hpp:25
Generated by
1.9.6