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 {