From 2cd972bb3eed7886a6b1d0d1b3ead24c8cf3fe4f Mon Sep 17 00:00:00 2001 From: Steven Le Rouzic Date: Sat, 24 Aug 2024 11:53:39 +0200 Subject: More work --- asl/meta.hpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'asl/meta.hpp') diff --git a/asl/meta.hpp b/asl/meta.hpp index 411d890..93bd1dd 100644 --- a/asl/meta.hpp +++ b/asl/meta.hpp @@ -85,6 +85,11 @@ template struct _is_ref_helper { static constexpr bool l = fals template concept is_ref = _is_ref_helper::l || _is_ref_helper::r; +template struct _is_ptr_helper : false_type {}; +template struct _is_ptr_helper : true_type {}; + +template concept is_ptr = _is_ptr_helper>::value; + template struct _tame_helper { using type = T; }; #define TAME_HELPER_IMPL(TRAILING) \ -- cgit