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