From 953ad589393219243e8c5a89e419c6958bbc3085 Mon Sep 17 00:00:00 2001 From: cyborg1811m Date: Sun, 28 Jul 2024 16:48:24 +0200 Subject: [PATCH] start of updating context --- test/common_helper/test.hpp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/test/common_helper/test.hpp b/test/common_helper/test.hpp index 6753f40..a0d7937 100644 --- a/test/common_helper/test.hpp +++ b/test/common_helper/test.hpp @@ -154,6 +154,17 @@ struct ret_val { constexpr inline const ret_val_s& operator[](std::size_t i) const { return vals[i]; } }; +template +concept ctx_has_type_num = requires { + typename Ctx::type; + { Ctx::nr } -> std::convertible_to; +}; + +template +concept ctx_has_type = requires { + typename Ctx::type; +}; + struct empty_param {}; struct test_common_params {