c++ Build Error - no match for 'operator!=' in 'this != rhs'|
<p>Not certain how I am to interprete the above. </p>

<p><strong>no match for 'operator!=' in 'this != rhs'|
Error| invalid initialization of non-const reference of type 'Collection&amp;' from an rvalue of type 'Collection* {aka Collection*}'|</strong></p>

<p>I have two methods where one calls  another. However,when I run the code, as is, I get the error messages above. </p>

<pre><code>Collection&amp;  Collection::operator=(const Collection&amp;&amp; rhs)
        {
                   if (this!= rhs)// &lt;--- Error |no match for 'operator!=' in 'this != rhs'
                    {
                        return copy(rhs);//&lt;---Error| invalid initialization of non-const reference of type 'Collection&amp;' from an rvalue of type 'Collection* {aka Collection*}'
                    }
                    return *this;
         }

Collection&amp; Collection::copy(const Collection&amp; coll)
{

}
</code></pre>
