|
fsm
|
A set of references to different context types. More...
#include <contexts.h>
Public Member Functions | |
| contexts (T &... ctxs) noexcept | |
| Capture different Context types as references. | |
| template<class U > | |
| auto & | get () noexcept |
| Get context by type. | |
| template<class U > | |
| auto const & | get () const noexcept |
| Get context by type. | |
Static Public Attributes | |
| template<class U > | |
| static auto constexpr | has = mpl::type_list_contains_v<mpl::type_list<T...>, U> |
A set of references to different context types.
If there are multiple contexts used by different states this set will be used to provide a proper context to a state based on its constructor argument type.
1.8.13