From 99e4e700b92b4fa72cbbcbe84f415509dcb2bd8e Mon Sep 17 00:00:00 2001 From: Dillon Date: Wed, 8 Mar 2023 20:47:23 -0800 Subject: [PATCH] Update array.h --- include/array/array.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/include/array/array.h b/include/array/array.h index ac1d9b7..a1263a3 100644 --- a/include/array/array.h +++ b/include/array/array.h @@ -1017,10 +1017,8 @@ class shape { private: dims_type dims_; - // TODO: This should use std::is_constructible> - // but it is broken on some compilers (https://github.com/dsharlet/array/issues/20). template - using enable_if_dims_compatible = std::enable_if_t; + using enable_if_dims_compatible = std::enable_if_t>::value>; template using enable_if_same_rank = std::enable_if_t<(sizeof...(Args) == rank())>;