// Copyright Benoit Blanchon 2014-2016 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson // If you like this project, please add a star! #pragma once #include "../Configuration.hpp" #include "IsSame.hpp" #include namespace ArduinoJson { namespace TypeTraits { // A meta-function that returns true if T is an integral type. template struct IsIntegral { static const bool value = TypeTraits::IsSame::value || TypeTraits::IsSame::value || TypeTraits::IsSame::value || TypeTraits::IsSame::value || TypeTraits::IsSame::value || TypeTraits::IsSame::value || TypeTraits::IsSame::value || TypeTraits::IsSame::value || #if ARDUINOJSON_USE_LONG_LONG TypeTraits::IsSame::value || TypeTraits::IsSame::value || #endif #if ARDUINOJSON_USE_INT64 TypeTraits::IsSame::value || TypeTraits::IsSame::value || #endif TypeTraits::IsSame::value; }; } }