Minh Nguyen / ArduinoJson
Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers IsString.hpp Source File

IsString.hpp

00001 // ArduinoJson - arduinojson.org
00002 // Copyright Benoit Blanchon 2014-2021
00003 // MIT License
00004 
00005 #pragma once
00006 
00007 #include <ArduinoJson/Polyfills/type_traits.hpp>
00008 
00009 namespace ARDUINOJSON_NAMESPACE {
00010 template <typename>
00011 struct IsString : false_type {};
00012 
00013 template <typename T>
00014 struct IsString<const T> : IsString<T> {};
00015 
00016 template <typename T>
00017 struct IsString<T&> : IsString<T> {};
00018 }  // namespace ARDUINOJSON_NAMESPACE