3-phase PV router
Loading...
Searching...
No Matches
is_integral.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
8#include "is_same.hpp"
9#include "remove_cv.hpp"
10
11// clang-format off
12template <typename T>
14 is_same<typename remove_cv<T>::type, signed char>::value ||
15 is_same<typename remove_cv<T>::type, unsigned char>::value ||
16 is_same<typename remove_cv<T>::type, signed short>::value ||
17 is_same<typename remove_cv<T>::type, unsigned short>::value ||
18 is_same<typename remove_cv<T>::type, signed int>::value ||
19 is_same<typename remove_cv<T>::type, unsigned int>::value ||
20 is_same<typename remove_cv<T>::type, signed long>::value ||
21 is_same<typename remove_cv<T>::type, unsigned long>::value ||
22 is_same<typename remove_cv<T>::type, signed long long>::value ||
23 is_same<typename remove_cv<T>::type, unsigned long long>::value ||
24 is_same<typename remove_cv<T>::type, char>::value ||
25 is_same<typename remove_cv<T>::type, bool>::value> {};
26// clang-format on