Oct 18, 2009

The return value of the assignment operator is always *this instead of void, because assignment operator supports concatenation assignment like a=b=c

The return value of the assignment operator is always *this instead of void, because assignment operator supports concatenation assignment like a=b=c
http://en.wikipedia.org/wiki/Assignment_operator_in_C%2B%2B

No comments:

Post a Comment