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

Make non-modifying functions (getters mostly) const #19

Open
shahzadlone opened this issue Feb 5, 2019 · 0 comments
Open

Make non-modifying functions (getters mostly) const #19

shahzadlone opened this issue Feb 5, 2019 · 0 comments
Labels
C++98 Changes that should go first in the patch series. upstream Intended to be sent to the upstream project

Comments

@shahzadlone
Copy link
Member

If a member function (method) is not modifying the class then make the method be const.

Pointing more at getter functions.

@shahzadlone shahzadlone changed the title Make non-modifying functions (getters mostly) const Make non-modifying functions (getters mostly) const [PATCH] Feb 5, 2019
@jonesmz jonesmz changed the title Make non-modifying functions (getters mostly) const [PATCH] Make non-modifying functions (getters mostly) const Feb 5, 2019
@jonesmz jonesmz added upstream Intended to be sent to the upstream project C++98 Changes that should go first in the patch series. labels Feb 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C++98 Changes that should go first in the patch series. upstream Intended to be sent to the upstream project
Projects
None yet
Development

No branches or pull requests

2 participants