When should this-> be used?
<p>I was wondering if this-> should be used both:</p>

<pre><code>void SomeClass::someFunc(int powder)
{
     this-&gt;powder = powder;
}

//and
void SomeClass::someFunc(bool enabled)
{
     this-&gt;isEnabled = enabled;
}
</code></pre>

<p>I'm wondering if the latter is necessary to be proper or if isEnabled = enabled would suffice.</p>

<p>Thanks</p>
