mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-10-17 10:55:06 +00:00
14 lines
341 B
C++
14 lines
341 B
C++
// SPDX-License-Identifier: Apache-2.0
|
|
#pragma once
|
|
|
|
#include <TactilityCpp/Allocator.h>
|
|
|
|
#include <string>
|
|
|
|
namespace tt::std {
|
|
|
|
/** std::string that prefers external memory (PSRAM) and falls back to internal RAM */
|
|
using string = ::std::basic_string<char, ::std::char_traits<char>, tt::OptExternalAllocator<char>>;
|
|
|
|
} // namespace tt::std
|