-
Notifications
You must be signed in to change notification settings - Fork 194
Open
Description
Expected Behavior
I expected to be able to write actions that can take constrained auto parameters
Actual Behavior
State machine fails to compile
Steps to Reproduce the Problem
- Create a concept
- Add the concept as a constrained auto parameter to an action lambda
- Create an instance of a type satisfying the concept
- pass the instance of the type to the
sm
constructor - Attempt to compile
- See template errors and failure to compile
See the "hello world" example modified to use a concept in the send_fin
action:
https://godbolt.org/z/ErxT5YqM9
A version that tries to call a wrapped free function with a constrained auto type:
https://godbolt.org/z/GThY848jo
Specifications
- Version: 0bdc4f5
- Platform: Mingw64 and Linux
- Subsystem:
Metadata
Metadata
Assignees
Labels
No labels