From 39895a677e5d370824e702cfe90ebc67737b8482 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 12 May 2021 09:12:09 +0200 Subject: import ArduinoJson 6.18.0 --- .../Polyfills/type_traits/is_unsigned.hpp | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 include/lib/ArduinoJson/Polyfills/type_traits/is_unsigned.hpp (limited to 'include/lib/ArduinoJson/Polyfills/type_traits/is_unsigned.hpp') diff --git a/include/lib/ArduinoJson/Polyfills/type_traits/is_unsigned.hpp b/include/lib/ArduinoJson/Polyfills/type_traits/is_unsigned.hpp new file mode 100644 index 0000000..be26498 --- /dev/null +++ b/include/lib/ArduinoJson/Polyfills/type_traits/is_unsigned.hpp @@ -0,0 +1,37 @@ +// ArduinoJson - https://arduinojson.org +// Copyright Benoit Blanchon 2014-2021 +// MIT License + +#pragma once + +#include "integral_constant.hpp" +namespace ARDUINOJSON_NAMESPACE { + +template +struct is_unsigned : false_type {}; + +template <> +struct is_unsigned : true_type {}; + +template <> +struct is_unsigned : true_type {}; + +template <> +struct is_unsigned : true_type {}; + +template <> +struct is_unsigned : true_type {}; + +template <> +struct is_unsigned : true_type {}; + +#if ARDUINOJSON_HAS_INT64 +template <> +struct is_unsigned : true_type {}; +#endif + +#if ARDUINOJSON_HAS_LONG_LONG +template <> +struct is_unsigned : true_type {}; +#endif +} // namespace ARDUINOJSON_NAMESPACE -- cgit v1.2.3