I\'ve seen some methods like this:
void SomeClass::someMethod() const;
What does this const declaration do, and how can it help optimize a prog
It prevents someMethod from altering any member variable of an object of that class.