2022-04-01 04:06:53 +00:00
|
|
|
/***
|
|
|
|
Copyright (C) 2022 J Reece Wilson (a/k/a "Reece"). All rights reserved.
|
|
|
|
|
|
|
|
File: auList.hpp
|
|
|
|
Date: 2022-2-1
|
|
|
|
Author: Reece
|
|
|
|
***/
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#if !defined(AURORA_RUNTIME_AU_LIST)
|
|
|
|
#define AURORA_RUNTIME_AU_LIST std::vector
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include "auMemoryModel.hpp"
|
|
|
|
|
|
|
|
#if defined(AURORA_ROXTL_CONTAINERS_USE_PURE)
|
|
|
|
|
2024-04-19 23:09:22 +00:00
|
|
|
template <class T, class Allocator_t = AuConditional_t<AuIsClass_v<T>, Aurora::Memory::ClassArrayAllocator<T>, Aurora::Memory::PrimitiveArrayAllocator<T>>>
|
|
|
|
using AuList = AURORA_RUNTIME_AU_LIST<T, Allocator_t>;
|
2022-04-01 04:06:53 +00:00
|
|
|
|
|
|
|
#else
|
|
|
|
|
2024-04-19 23:09:22 +00:00
|
|
|
template <class T, class Allocator_t = AuConditional_t<AuIsClass_v<T>, Aurora::Memory::ClassArrayAllocator<T>, Aurora::Memory::PrimitiveArrayAllocator<T>>>
|
|
|
|
using AuList = AURORA_RUNTIME_AU_LIST<T, Allocator_t>;
|
2022-04-01 04:06:53 +00:00
|
|
|
|
2024-04-20 22:38:11 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
template <class T>
|
2024-09-09 05:53:00 +00:00
|
|
|
using AuListOfHeap = AuList<T, Aurora::Memory::PmrCppHeapWrapper<T>>;
|