First Commit
This commit is contained in:
14
externals/openal-soft/common/altraits.h
vendored
Normal file
14
externals/openal-soft/common/altraits.h
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
#ifndef COMMON_ALTRAITS_H
|
||||
#define COMMON_ALTRAITS_H
|
||||
|
||||
namespace al {
|
||||
|
||||
template<typename T>
|
||||
struct type_identity { using type = T; };
|
||||
|
||||
template<typename T>
|
||||
using type_identity_t = typename type_identity<T>::type;
|
||||
|
||||
} // namespace al
|
||||
|
||||
#endif /* COMMON_ALTRAITS_H */
|
||||
Reference in New Issue
Block a user