...
This commit is contained in:
parent
9b5340d3cd
commit
7e987536b8
@ -328,11 +328,17 @@ 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...>,
|
||||||
TplTs...>;
|
typename collect_states_t<typename StTs::transition_t::unique_states_t...>::states_t,
|
||||||
|
TplTs...>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user