2026-10-12 20:29:29 +02:00

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