Minh Nguyen / ArduinoJson
Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers is_pointer.hpp Source File

is_pointer.hpp

00001 // ArduinoJson - arduinojson.org
00002 // Copyright Benoit Blanchon 2014-2021
00003 // MIT License
00004 
00005 #pragma once
00006 
00007 #include "integral_constant.hpp"
00008 
00009 namespace ARDUINOJSON_NAMESPACE {
00010 
00011 template <typename T>
00012 struct is_pointer : false_type {};
00013 
00014 template <typename T>
00015 struct is_pointer<T*> : true_type {};
00016 }  // namespace ARDUINOJSON_NAMESPACE