My Answer to the challenge: Apply Const To All Getters

I don’t think any other function needs to be declared const, since as for the moment, no other function seems to be affecting the private variables. Even the reset function cannot be declared as const, because at some point or later we will have to reset the values, which contradicts the use of const. :slight_smile:

Privacy & Terms