From 35a996490200126e72775398fa3d6daa0ec4f435 Mon Sep 17 00:00:00 2001 From: Steven Le Rouzic Date: Wed, 13 Nov 2024 00:01:06 +0100 Subject: Introduce byte, use span on io Writer --- 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 1c058c4..e64b4f2 100644 --- a/asl/meta.hpp +++ b/asl/meta.hpp @@ -82,6 +82,11 @@ template struct _un_const_helper { using type = T; }; template using un_const_t = _un_const_helper::type; +template struct _is_const_helper : false_type {}; +template struct _is_const_helper : true_type {}; + +template concept is_const = _is_const_helper::value; + template struct _un_volatile_helper { using type = T; }; template struct _un_volatile_helper { using type = T; }; -- cgit