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
Use kAudioObjectPropertyElementMaster on macOS for compatibility
[openal-soft.git]
/
common
/
altraits.h
blob
7ce0422e6ce89f74a474998eeabcf70d497d05a0
1
#ifndef COMMON_ALTRAITS_H
2
#define COMMON_ALTRAITS_H
3
4
namespace
al
{
5
6
template
<
typename T
>
7
struct
type_identity
{
using
type
=
T
; };
8
9
template
<
typename T
>
10
using
type_identity_t
=
typename type_identity
<
T
>::
type
;
11
12
}
// namespace al
13
14
#endif
/* COMMON_ALTRAITS_H */