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

Usage of const before and after a declaration #16

Open
bakhtiarZ opened this issue Mar 11, 2022 · 1 comment
Open

Usage of const before and after a declaration #16

bakhtiarZ opened this issue Mar 11, 2022 · 1 comment

Comments

@bakhtiarZ
Copy link

bakhtiarZ commented Mar 11, 2022

Hi,

why is there const before and after the declaration in this :

virtual const char * getFunction() const =0;

@ymherklotz
Copy link
Member

Those are const member functions. More info can be found on stack overflow

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