mirror of
https://github.com/love2d/megasource.git
synced 2026-08-17 11:11:35 +02:00
15 lines
262 B
C++
15 lines
262 B
C++
#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 */
|