From fd1f5e66c1d6744167006e846c1073fd4ec8ff18 Mon Sep 17 00:00:00 2001 From: Eric Fiselier Date: Sat, 13 Jun 2015 02:36:07 +0000 Subject: [PATCH] Make __void_t unary and always provide it. llvm-svn: 239655 --- libcxx/include/type_traits | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libcxx/include/type_traits b/libcxx/include/type_traits index 20dc156..531caf0 100644 --- a/libcxx/include/type_traits +++ b/libcxx/include/type_traits @@ -216,10 +216,8 @@ namespace std _LIBCPP_BEGIN_NAMESPACE_STD -#ifndef _LIBCPP_HAS_NO_VARIADICS -template +template struct __void_t { typedef void type; }; -#endif template struct _LIBCPP_TYPE_VIS_ONLY __dependent_type : public _Tp {}; -- 2.7.4