Make __void_t unary and always provide it.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@239655 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
bc1e44d14e
commit
b7fc49f828
@ -216,10 +216,8 @@ namespace std
|
||||
|
||||
_LIBCPP_BEGIN_NAMESPACE_STD
|
||||
|
||||
#ifndef _LIBCPP_HAS_NO_VARIADICS
|
||||
template <class...>
|
||||
template <class>
|
||||
struct __void_t { typedef void type; };
|
||||
#endif
|
||||
|
||||
template <class _Tp, bool>
|
||||
struct _LIBCPP_TYPE_VIS_ONLY __dependent_type : public _Tp {};
|
||||
|
Loading…
Reference in New Issue
Block a user