From b7fc49f828b53c5e910da6aeb2920b50f6b07ff1 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. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@239655 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/type_traits | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/include/type_traits b/include/type_traits index 20dc15688..531caf0a2 100644 --- a/include/type_traits +++ b/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 {};