Skip to content

exception when passing nullptr to transit #14

@PointClouder

Description

@PointClouder

in my opinion a hand-tailored transition like

state::transit< Dest, Context, MyEvent >( nullptr, e );

where i pass an event without an action should be valid. however, transition function gets called in transition_function::operator() causing an exception derefencing a nullptr.

usecase:
access e in destintation state using triggering_event()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions