repo.or.cz
/
openal-soft.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Check that AltiVec is enabled before using it
[openal-soft.git]
/
common
/
vector.h
blob
364735c67da45cf6098c58293b75a9233ea9ffab
1
#ifndef AL_VECTOR_H
2
#define AL_VECTOR_H
3
4
#include <cstddef>
5
#include <vector>
6
7
#include
"almalloc.h"
8
9
namespace
al
{
10
11
template
<
typename T
,
std
::
size_t
alignment
=
alignof
(
T
)>
12
using
vector
=
std
::
vector
<
T
,
al
::
allocator
<
T
,
alignment
>>;
13
14
}
// namespace al
15
16
#endif
/* AL_VECTOR_H */