This commit is contained in:
Timur A. Fatkhullin 2025-05-30 00:36:20 +03:00
parent 9b5340d3cd
commit 7e987536b8

View File

@ -328,10 +328,16 @@ protected:
template <typename... TplTs> template <typename... TplTs>
struct collect_states_t; struct collect_states_t;
// template <typename TplT>
// struct collect_states_t<TplT> {
// using states_t = TplT;
// };
template <traits::fsm_state_c... StTs, typename... TplTs> template <traits::fsm_state_c... StTs, typename... TplTs>
struct collect_states_t<std::tuple<StTs...>, TplTs...> { struct collect_states_t<std::tuple<StTs...>, TplTs...> {
using states_t = merge_tuples_res_t<std::tuple<StTs...>, using states_t =
collect_states_t<typename StTs::transition_t::unique_states_t...>, merge_tuples_res_t<std::tuple<StTs...>,
typename collect_states_t<typename StTs::transition_t::unique_states_t...>::states_t,
TplTs...>; TplTs...>;
}; };