diff --git a/include/type_traits b/include/type_traits index db8a0434b..f0defafec 100644 --- a/include/type_traits +++ b/include/type_traits @@ -219,8 +219,8 @@ _LIBCPP_BEGIN_NAMESPACE_STD template struct __void_t { typedef void type; }; -template -struct __identity { typedef T type; }; +template +struct __identity { typedef _Tp type; }; template struct _LIBCPP_TYPE_VIS_ONLY __dependent_type : public _Tp {};