diff options
author | Chris Robinson <[email protected]> | 2019-07-28 18:56:04 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-07-28 18:56:04 -0700 |
commit | cb3e96e75640730b9391f0d2d922eecd9ee2ce79 (patch) | |
tree | 23520551bddb2a80354e44da47f54201fdc084f0 /alc/vector.h | |
parent | 93e60919c8f387c36c267ca9faa1ac653254aea6 (diff) |
Rename Alc to alc
Diffstat (limited to 'alc/vector.h')
-rw-r--r-- | alc/vector.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/alc/vector.h b/alc/vector.h new file mode 100644 index 00000000..1b69d6a7 --- /dev/null +++ b/alc/vector.h @@ -0,0 +1,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 */ |