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
Subscribe to:
Post Comments (Atom)
DFS the life without backtracking
No comments:
Post a Comment