title: How does rhs work?
body: <p>Here I understand rhs means right hand side but I don't understand how does compiler understand "rhs" refers to right hand side. And can someone explain in which case will this overloading be necessary?</p>
  
  <pre><code>MyArray&lt;T&gt;&amp; operator=(const MyArray&lt;T&gt;&amp; rhs); 
  </code></pre>