[libcxx] r239655 - Make __void_t unary and always provide it.
Eric Fiselier
eric at efcs.ca
Fri Jun 12 19:36:07 PDT 2015
Author: ericwf
Date: Fri Jun 12 21:36:07 2015
New Revision: 239655
URL: http://llvm.org/viewvc/llvm-project?rev=239655&view=rev
Log:
Make __void_t unary and always provide it.
Modified:
libcxx/trunk/include/type_traits
Modified: libcxx/trunk/include/type_traits
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/type_traits?rev=239655&r1=239654&r2=239655&view=diff
==============================================================================
--- libcxx/trunk/include/type_traits (original)
+++ libcxx/trunk/include/type_traits Fri Jun 12 21:36:07 2015
@@ -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 {};
More information about the cfe-commits
mailing list