Open kielby opened 1 year ago
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"?
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