Skip to content

Give compiler error if an origin state is defined multiple times in a transition table. #4

Description

@K1ngmar

The example below should not be allowed since it defines transitions from the idle state multiple times.

MSM::TransitionTable
<
    MSM::Row<Idle,
        MSM::Transition<LocalEvent::StartGame, StartingGame, None, None>,
        MSM::Transition<LocalEvent::StartGame, None, None, None>,
        MSM::Transition<LocalEvent::ShutDown, ShuttingDown, None, None>
    >,

    MSM::Row<Idle,
        MSM::Transition<LocalEvent::Something, Something, None, None>
    >
>;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions