Protect template argument from user interference.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@244462 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Joerg Sonnenberger 2015-08-10 16:58:04 +00:00
parent bed1d91bf2
commit ba865ff66b

View File

@ -219,8 +219,8 @@ _LIBCPP_BEGIN_NAMESPACE_STD
template <class> template <class>
struct __void_t { typedef void type; }; struct __void_t { typedef void type; };
template <class T> template <class _Tp>
struct __identity { typedef T type; }; struct __identity { typedef _Tp type; };
template <class _Tp, bool> template <class _Tp, bool>
struct _LIBCPP_TYPE_VIS_ONLY __dependent_type : public _Tp {}; struct _LIBCPP_TYPE_VIS_ONLY __dependent_type : public _Tp {};