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

Const supports non-primitive types #37

Open
nordsieck opened this issue Mar 14, 2016 · 0 comments
Open

Const supports non-primitive types #37

nordsieck opened this issue Mar 14, 2016 · 0 comments

Comments

@nordsieck
Copy link
Owner

These would have to be compiled to vars, but the compiler would guarantee that the var does not get mutated at runtime.

C++ has const expressions, which give different guarantees, which might be worth looking at.

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

No branches or pull requests

1 participant