Member function that is declared as const.
Const objects can call only const methods.
Non-const objects can call both const and non-const methods.
Const objects can call only const methods.
Non-const objects can call both const and non-const methods.
No comments:
Post a Comment