aboutsummaryrefslogtreecommitdiffstats
path: root/common/vector.h
blob: 1b69d6a77fea2da881a4f40d6ce6c9026ff7b4f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef AL_VECTOR_H
#define AL_VECTOR_H

#include <vector>

#include "almalloc.h"

namespace al {

template<typename T, size_t alignment=alignof(T)>
using vector = std::vector<T, al::allocator<T, alignment>>;

} // namespace al

#endif /* AL_VECTOR_H */