is there any benefit (in sense of running time or anything else) to declaring a member function or object as constant?
Last edited on
The benefit is that you may call a const member function for a const object.:)
even we can directly call a constant member function without a const. object!