diff options
Diffstat (limited to 'include/lib/ArduinoJson/TypeTraits/EnableIf.hpp')
-rw-r--r-- | include/lib/ArduinoJson/TypeTraits/EnableIf.hpp | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/include/lib/ArduinoJson/TypeTraits/EnableIf.hpp b/include/lib/ArduinoJson/TypeTraits/EnableIf.hpp deleted file mode 100644 index 83fc5e0..0000000 --- a/include/lib/ArduinoJson/TypeTraits/EnableIf.hpp +++ /dev/null @@ -1,19 +0,0 @@ -// ArduinoJson - arduinojson.org -// Copyright Benoit Blanchon 2014-2018 -// MIT License - -#pragma once - -namespace ArduinoJson { -namespace Internals { - -// A meta-function that return the type T if Condition is true. -template <bool Condition, typename T = void> -struct EnableIf {}; - -template <typename T> -struct EnableIf<true, T> { - typedef T type; -}; -} -} |