projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
793f59e
)
Make __void_t unary and always provide it.
author
Eric Fiselier
<eric@efcs.ca>
Sat, 13 Jun 2015 02:36:07 +0000
(
02:36
+0000)
committer
Eric Fiselier
<eric@efcs.ca>
Sat, 13 Jun 2015 02:36:07 +0000
(
02:36
+0000)
llvm-svn: 239655
libcxx/include/type_traits
patch
|
blob
|
history
diff --git
a/libcxx/include/type_traits
b/libcxx/include/type_traits
index
20dc156
..
531caf0
100644
(file)
--- 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 <class...>
+template <class>
struct __void_t { typedef void type; };
-#endif
template <class _Tp, bool>
struct _LIBCPP_TYPE_VIS_ONLY __dependent_type : public _Tp {};