VCCC  2024.05
VisualCamp Common C++ library
type_identity.hpp
Go to the documentation of this file.
1 //
2 // Created by yonggyulee on 2023/09/29.
3 //
4 
5 #ifndef VCCC_TYPE_TRAITS_TYPE_IDENTITY_HPP
6 #define VCCC_TYPE_TRAITS_TYPE_IDENTITY_HPP
7 
8 namespace vccc {
9 
15 
16 template<typename T>
17 struct type_identity {
18  using type = T;
19 };
20 
21 template<typename T>
23 
26 
27 } // namespace vccc
28 
29 #endif // VCCC_TYPE_TRAITS_TYPE_IDENTITY_HPP
typename type_identity< T >::type type_identity_t
Definition: type_identity.hpp:22
Definition: directory.h:12
Definition: type_identity.hpp:17
T type
Definition: type_identity.hpp:18