Skip to content
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

Can a state have non-static member variable ? #14

Closed
abhilashchowdhary opened this issue Oct 5, 2018 · 1 comment
Closed

Can a state have non-static member variable ? #14

abhilashchowdhary opened this issue Oct 5, 2018 · 1 comment

Comments

@abhilashchowdhary
Copy link

Looking at the examples, all the member variables of the states are static.

@digint
Copy link
Owner

digint commented Oct 5, 2018

You can't have static members, states are static instances of template types.

(duplicate of: #3).

@digint digint closed this as completed Jun 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants