Overloading the const and non-const Member Functions
by Prashanth Narayanaswamy
We all know about the function overloading feature in C++, which allows us to have the same name given for a function with different signatures. But what about overloading based on the const-ness of a member function?
|