mirror of
https://github.com/love2d/megasource.git
synced 2026-08-12 08:30:59 +02:00
17 lines
278 B
C++
17 lines
278 B
C++
#ifndef AL_VECTOR_H
|
|
#define AL_VECTOR_H
|
|
|
|
#include <cstddef>
|
|
#include <vector>
|
|
|
|
#include "almalloc.h"
|
|
|
|
namespace al {
|
|
|
|
template<typename T, std::size_t alignment=alignof(T)>
|
|
using vector = std::vector<T, al::allocator<T, alignment>>;
|
|
|
|
} // namespace al
|
|
|
|
#endif /* AL_VECTOR_H */
|