-
Notifications
You must be signed in to change notification settings - Fork 177
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question about states and data #566
Comments
Nope, the tutorial is not outdated. It is true, the STATE itself cannot have data. The example shows how u can store data in the STATEMACHINE. An other solution is to work with dependencies. |
@MatthiasKleesSchulz Can I ask what's the difference between "states cannot have data" and "Another solution is to work with dependencies"? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is the statement on the tutorial pageoutdated?
On the examples page in the data section it shows otherwise right? Or is the statement above regarding something else?
https://boost-ext.github.io/sml/examples.html#data
The text was updated successfully, but these errors were encountered: