custom_string.hpp 328 B

123456789101112
  1. // ArduinoJson - https://arduinojson.org
  2. // Copyright © 2014-2022, Benoit BLANCHON
  3. // MIT License
  4. #pragma once
  5. #include <string>
  6. struct custom_char_traits : std::char_traits<char> {};
  7. struct custom_allocator : std::allocator<char> {};
  8. typedef std::basic_string<char, custom_char_traits, custom_allocator>
  9. custom_string;