This pointer and performance penalty
<pre><code>void do_something() {....}

struct dummy
{
   //even I dont call this, compiler will call it fall me, they need it
   void call_do_something() { this-&gt;do_something_member(); } 
   void do_something() {....}
};
</code></pre>

<p>According what I know, every class or struct in C++ will implicity call
this pointer when you want to access the data member or the member function
of the class, would this bring performance penalty to C++?</p>

<p>What I mean is</p>

<pre><code>int main()
{
  do_something(); //don't need this pointer
  dummy().call_do_something(); //assume the inline is prefect

  return 0;
}
</code></pre>

<p>call_do_something need a this pointer to call the member function, but
the C like do_something don't need this pointer, would this pointer bring
some performance penalty when compare to the C like function?</p>

<p>I have no meaning to do any micro optimization since it would cause me so much 
time but always don't bring me good result, I always follow the rule of "measure, don't think".
I want to know this pointer would bring performance penalty or not because of curiosity.</p>
