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

Row source: a concrete state or the fsm::any wildcard. More...

#include <fsm.hpp>

Public Member Functions

constexpr from_spec ()=default
 
constexpr from_spec (State st)
 
constexpr from_spec (any_t)
 

Public Attributes

from_kind k = from_kind::unspecified
 
State s {}
 

Detailed Description

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

Row source: a concrete state or the fsm::any wildcard.

Default-constructs to a poison unspecified value so an omitted .from designated initializer is rejected by the compile-time validator.

Constructor & Destructor Documentation

◆ from_spec() [1/3]

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

◆ from_spec() [2/3]

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

◆ from_spec() [3/3]

template<class State >
constexpr fsm::from_spec< State >::from_spec ( any_t  )
inlineconstexpr

Member Data Documentation

◆ k

template<class State >
from_kind fsm::from_spec< State >::k = from_kind::unspecified

◆ s

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

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