From ea795dcccb136a45fa08a8a82953f95343706c6c Mon Sep 17 00:00:00 2001 From: Steven Le Rouzic Date: Fri, 23 Aug 2024 19:12:42 +0200 Subject: Add is_array --- asl/meta.hpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'asl/meta.hpp') diff --git a/asl/meta.hpp b/asl/meta.hpp index be5fa50..b3e0697 100644 --- a/asl/meta.hpp +++ b/asl/meta.hpp @@ -117,4 +117,10 @@ template concept is_func = _is_func_helper>::value; template concept is_object = !is_void && !is_ref && !is_func; +template struct _is_array_helper : false_type {}; +template struct _is_array_helper : true_type {}; +template struct _is_array_helper : true_type {}; + +template concept is_array = _is_array_helper::value; + } // namespace asl -- cgit