fsm 0.4.1
Header-only C++20 hierarchical table-driven FSM
Loading...
Searching...
No Matches
fsm::state_id< State > Struct Template Reference

State identifier for a state_spec, with poison default. More...

#include <fsm.hpp>

Public Member Functions

constexpr state_id ()=default
 
constexpr state_id (State st)
 

Public Attributes

id_kind k = id_kind::unspecified
 
State s {}
 

Detailed Description

template<class State>
struct fsm::state_id< State >

State identifier for a state_spec, with poison default.

Constructor & Destructor Documentation

◆ state_id() [1/2]

template<class State >
constexpr fsm::state_id< State >::state_id ( )
constexprdefault

◆ state_id() [2/2]

template<class State >
constexpr fsm::state_id< State >::state_id ( State  st)
inlineconstexpr

Member Data Documentation

◆ k

template<class State >
id_kind fsm::state_id< State >::k = id_kind::unspecified

◆ s

template<class State >
State fsm::state_id< State >::s {}

The documentation for this struct was generated from the following file: