custom_string.hpp 356 B

1234567891011121314
  1. // ArduinoJson - arduinojson.org
  2. // Copyright Benoit Blanchon 2014-2019
  3. // MIT License
  4. #pragma once
  5. #include <string>
  6. using namespace ARDUINOJSON_NAMESPACE;
  7. struct custom_char_traits : std::char_traits<char> {};
  8. struct custom_allocator : std::allocator<char> {};
  9. typedef std::basic_string<char, custom_char_traits, custom_allocator>
  10. custom_string;