My Project
type_identity.hpp
Go to the documentation of this file.
1 
28 #ifndef BSL_TYPE_IDENTITY_HPP
29 #define BSL_TYPE_IDENTITY_HPP
30 
31 namespace bsl
32 {
42  template<typename T>
43  struct type_identity final
44  {
46  using type = T;
47  };
48 
50  template<typename T>
52 }
53 
54 #endif
typename type_identity< T >::type type_identity_t
a helper that reduces the verbosity of bsl::type_identity
Definition: type_identity.hpp:51
Provides the member typedef "type" that names T (i.e., the identity transformation).
Definition: type_identity.hpp:43
T type
the member typedef "type" being provided
Definition: type_identity.hpp:46