forked from OSchip/llvm-project
Don't use T as template argument, it is part of the application
namespace. llvm-svn: 195693
This commit is contained in:
parent
50e2d7aeea
commit
c55d97b1f9
|
@ -19,7 +19,7 @@
|
|||
namespace __gnu_cxx {
|
||||
using namespace std;
|
||||
|
||||
template <typename T> struct _LIBCPP_TYPE_VIS_ONLY hash : public std::hash<T>
|
||||
template <typename _Tp> struct _LIBCPP_TYPE_VIS_ONLY hash : public std::hash<_Tp>
|
||||
{ };
|
||||
|
||||
template <> struct _LIBCPP_TYPE_VIS_ONLY hash<const char*>
|
||||
|
|
|
@ -1409,7 +1409,7 @@ template <class ..._Tp> using common_type_t = typename common_type<_Tp...>::type
|
|||
|
||||
// is_assignable
|
||||
|
||||
template<typename, typename T> struct __select_2nd { typedef T type; };
|
||||
template<typename, typename _Tp> struct __select_2nd { typedef _Tp type; };
|
||||
|
||||
template <class _Tp, class _Arg>
|
||||
typename __select_2nd<decltype((_VSTD::declval<_Tp>() = _VSTD::declval<_Arg>())), true_type>::type
|
||||
|
|
Loading…
Reference in New Issue