Add support for identity_of

This commit is contained in:
Baptiste Wicht 2018-04-05 11:54:08 +02:00
parent c2883b0fed
commit d131631ce4

View File

@ -374,6 +374,14 @@ struct is_integral<unsigned long long> {
static constexpr const bool value = true;
};
template <typename T>
struct identity_of {
using type = T;
};
template <typename T>
using identity_of_t = typename identity_of<T>::type;
} //end of namespace std
#endif