AmUniquePtr¶
template<MemoryPoolKind Pool, class T> using AmUniquePtr = std::unique_ptr<T, am_delete<Pool, T>>
Unique pointer type.
- Template parameter
Pool
- The memory pool to allocate the pointer from.
- Template parameter
T
- The type of the pointer to allocate.