diff --git a/libcxx/include/array b/libcxx/include/array index 88e9d57ff783e651deb8a922b600ade177586d0e..ddebf9159600e4a7892588c3a3180e35114d9fa2 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)>;