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

Mark eligible functions as pure/view #19

Open
darob3rt opened this issue Oct 16, 2017 · 1 comment
Open

Mark eligible functions as pure/view #19

darob3rt opened this issue Oct 16, 2017 · 1 comment

Comments

@darob3rt
Copy link

Nearly all of the string utility functions can be declared as view or even pure, since they do not modify any state but only meddle with the arguments passed to them.

Please add these keywords where possible in order to enable users to keep their functions declared as view or pure without the compiler complaining that one of the called methods in the function may modify the state.

@axic
Copy link
Contributor

axic commented Jul 23, 2018

Fixed by #25.

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

2 participants