S
subramanian100in
In
http://www.parashift.com/c++-faq-lite/friends.html#faq-14.5
the following is mentioned:
(member functions don't allow promotion of the left hand argument,
since that would change the class of the object that is the recipient
of the member function invocation)
I do not understand the part "since that would change the class of the
object that is the recipient of the member function invocation"
Kindly explain with an example.
Thanks
V.Subramanian
http://www.parashift.com/c++-faq-lite/friends.html#faq-14.5
the following is mentioned:
(member functions don't allow promotion of the left hand argument,
since that would change the class of the object that is the recipient
of the member function invocation)
I do not understand the part "since that would change the class of the
object that is the recipient of the member function invocation"
Kindly explain with an example.
Thanks
V.Subramanian