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 tells the compiler that the method has no effect on the classes state; you can't assign to anything in it. Have a look at the C++ FAQ Lite 18.10.