start of updating context

This commit is contained in:
cyborg1811m 2024-07-28 16:48:24 +02:00
parent 1c91e3ec75
commit 953ad58939
1 changed files with 11 additions and 0 deletions

View File

@ -154,6 +154,17 @@ struct ret_val {
constexpr inline const ret_val_s& operator[](std::size_t i) const { return vals[i]; }
};
template<typename Ctx>
concept ctx_has_type_num = requires {
typename Ctx::type;
{ Ctx::nr } -> std::convertible_to<std::size_t>;
};
template<typename Ctx>
concept ctx_has_type = requires {
typename Ctx::type;
};
struct empty_param {};
struct test_common_params {