diff options
Diffstat (limited to 'include/lib/ArduinoJson/TypeTraits/IsFloatingPoint.hpp')
-rw-r--r-- | include/lib/ArduinoJson/TypeTraits/IsFloatingPoint.hpp | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/include/lib/ArduinoJson/TypeTraits/IsFloatingPoint.hpp b/include/lib/ArduinoJson/TypeTraits/IsFloatingPoint.hpp deleted file mode 100644 index e41a682..0000000 --- a/include/lib/ArduinoJson/TypeTraits/IsFloatingPoint.hpp +++ /dev/null @@ -1,18 +0,0 @@ -// ArduinoJson - arduinojson.org -// Copyright Benoit Blanchon 2014-2018 -// MIT License - -#pragma once - -#include "IsSame.hpp" - -namespace ArduinoJson { -namespace Internals { - -// A meta-function that returns true if T is a floating point type -template <typename T> -struct IsFloatingPoint { - static const bool value = IsSame<T, float>::value || IsSame<T, double>::value; -}; -} -} |