From 0602c4ce87299e495966b0126a7c6a7adf9721e3 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 13 Aug 2025 19:56:10 +0200 Subject: compat: fix clang compile-time error Add test. --- compat/array-size.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compat/array-size.hpp') diff --git a/compat/array-size.hpp b/compat/array-size.hpp index fd313e6e..98da4d1e 100644 --- a/compat/array-size.hpp +++ b/compat/array-size.hpp @@ -9,9 +9,9 @@ template struct array_size_ : std::integral_const template struct array_size_ : std::integral_constant {}; template struct array_size_> : std::integral_constant {}; template struct array_size_> : std::integral_constant {}; -template constexpr std::size_t arraySize(U(T::*)[N]) { return N; } template struct array_size_ : std::integral_constant>::value> {}; +//template struct array_size_< T(U::*)[N] > : std::integral_constant {}; // should be redundant } // namespace floormat::detail -- cgit v1.2.3