Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
StringStorage.hpp
00001 // ArduinoJson - arduinojson.org 00002 // Copyright Benoit Blanchon 2014-2021 00003 // MIT License 00004 00005 #pragma once 00006 00007 #include <ArduinoJson/StringStorage/StringCopier.hpp> 00008 #include <ArduinoJson/StringStorage/StringMover.hpp> 00009 00010 namespace ARDUINOJSON_NAMESPACE { 00011 00012 template <typename TInput> 00013 StringCopier makeStringStorage(TInput&, MemoryPool& pool) { 00014 return StringCopier(pool); 00015 } 00016 00017 template <typename TChar> 00018 StringMover makeStringStorage( 00019 TChar* input, MemoryPool&, 00020 typename enable_if<!is_const<TChar>::value>::type* = 0) { 00021 return StringMover(reinterpret_cast<char*>(input)); 00022 } 00023 } // namespace ARDUINOJSON_NAMESPACE
Generated on Wed Jul 13 2022 01:10:36 by
1.7.2