mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-10-17 02:45:05 +00:00
15 lines
320 B
C++
15 lines
320 B
C++
// SPDX-License-Identifier: Apache-2.0
|
|
#pragma once
|
|
|
|
#include <TactilityCpp/Allocator.h>
|
|
|
|
#include <deque>
|
|
|
|
namespace tt::std {
|
|
|
|
/** std::deque that prefers external memory (PSRAM) and falls back to internal RAM */
|
|
template<typename T>
|
|
using deque = ::std::deque<T, tt::OptExternalAllocator<T>>;
|
|
|
|
} // namespace tt::std
|