what is the convention for calling overloaded = operator in C++ using pointers?
<p>When overloading a "=" operator for a class, the usual syntax is:</p>

<pre><code>ClassA ObjA, ObjB;

ObjA = ObjB;
</code></pre>

<p>But what about pointers ??</p>

<pre><code>Class *PtrA, *PtrB;

PtrA-&gt;operator=(PtrB)
</code></pre>

<p>Is the above calling convention correct assuming the <code>=</code> operator in ClassA is defined for pointer on class (<code>ClassA* operator=(const ClassA* obj)</code>) ??</p>
