Why does the assignment operator return anything
<p>I have been thinking about this for a while. Especially since assignment operator is called on objects that have already been allocated a space on the heap/stack. While researching on  this topic I came across the following <a href="http://faculty.cs.niu.edu/~hutchins/csci241/assignop.htm" rel="nofollow">link</a> which states that the purpose of returning a reference is merely for the sake of chaining. Is that the only reasoning for returning a reference form an assignment operator ?</p>
