diff --git a/tstl/include/type_traits.hpp b/tstl/include/type_traits.hpp index b2c98110..24bfae1b 100644 --- a/tstl/include/type_traits.hpp +++ b/tstl/include/type_traits.hpp @@ -374,6 +374,14 @@ struct is_integral { static constexpr const bool value = true; }; +template +struct identity_of { + using type = T; +}; + +template +using identity_of_t = typename identity_of::type; + } //end of namespace std #endif