aboutsummaryrefslogtreecommitdiffstats
path: root/libcxx/include/array
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2020-06-27 18:34:17 +0000
committerDimitry Andric <dim@FreeBSD.org>2020-06-27 18:34:17 +0000
commitdbb6490749e2bb2a514a8a305b8fadc3495183e6 (patch)
treedd42cfd6d9813d5640a01083bdc0eedcb3f862c2 /libcxx/include/array
parent483b61a50e7423b063fc26985325f594560b3f7e (diff)
downloadsrc-vendor/llvm-project/release-10.x.tar.gz
src-vendor/llvm-project/release-10.x.zip
llvmorg-10.0.1-rc2-0-g77d76b71d7d.
Notes
Notes: svn path=/vendor/llvm-project/release-10.x/; revision=362703 svn path=/vendor/llvm-project/llvmorg-10.0.1-0-gef32c611aa2/; revision=363400; tag=vendor/llvm-project/llvmorg-10.0.1-0-gef32c611aa2
Diffstat (limited to 'libcxx/include/array')
-rw-r--r--libcxx/include/array2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/include/array b/libcxx/include/array
index 88e9d57ff783..ddebf9159600 100644
--- a/libcxx/include/array
+++ b/libcxx/include/array
@@ -359,7 +359,7 @@ struct _LIBCPP_TEMPLATE_VIS array<_Tp, 0>
#ifndef _LIBCPP_HAS_NO_DEDUCTION_GUIDES
template<class _Tp, class... _Args,
- class = typename enable_if<(is_same_v<_Tp, _Args> && ...), void>::type
+ class = _EnableIf<__all<_IsSame<_Tp, _Args>::value...>::value>
>
array(_Tp, _Args...)
-> array<_Tp, 1 + sizeof...(_Args)>;