Skip to content

fix: accept bare state + event as an internal transition (#317) - #732

Merged
kris-jusiak merged 4 commits into
boost-ext:masterfrom
PavelGuzenfeld:fix/issue-317-bare-internal-transition
Oct 17, 2026
Merged

kris-jusiak merged 4 commits into
boost-ext:masterfrom
PavelGuzenfeld:fix/issue-317-bare-internal-transition

Conversation

@PavelGuzenfeld

Copy link
Copy Markdown
Contributor

"a"_s + event<e1> with no action, guard or target failed with "Composable constraint is not satisfied". transition<state, event> now derives from the internal transition with always/none, so the row consumes the event (process_event returns true, no exit/entry). operator= is kept, so s + e = t builds the same types as before. Dropped the unused s2/e members, s2 was a reference to a temporary. gcc14/clang18 C++14/17/20, MSVC c++14/20.

Closes #317

The row consumes the event with no action, exit or entry.
@PavelGuzenfeld
PavelGuzenfeld force-pushed the fix/issue-317-bare-internal-transition branch from e44ebc7 to 7d6f147 Compare October 14, 2026 12:20
@kris-jusiak
kris-jusiak merged commit 5d9a95e into boost-ext:master Oct 17, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

internal transition must have an action or a guard to be recognized as such

3 participants