forked from bblanchon/ArduinoJson
Added support for basic_string<char, traits, allocator> (closes #1045)
This commit is contained in:
1 parent
b9c4a0c5f6
commit
1e9cc285bb
6 files changed
+89
-15
No files matched your search
@@ -0,0 +1,14 @@
|
||||
// ArduinoJson - arduinojson.org
|
||||
// Copyright Benoit Blanchon 2014-2019
|
||||
// MIT License
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
|
||||
using namespace ARDUINOJSON_NAMESPACE;
|
||||
|
||||
struct custom_char_traits : std::char_traits<char> {};
|
||||
struct custom_allocator : std::allocator<char> {};
|
||||
typedef std::basic_string<char, custom_char_traits, custom_allocator>
|
||||
custom_string;
|
||||
Reference in new issue
Block a user