title: What does it means if I declare function pointer in c++
body: <p>What does it means when I in my code declare something like :
   Foo * foo();
  What benefits it gives me ?
  Ist not simple pointer variable as you see . 
  Also 
  What does it mean if I declare it in the c++ source above all methods for example :</p>
  
  <pre><code>// Test cpp class 
  .
  
      #include "Foo.h"
      Foo * foo();
  
      Test::Test() {}
      Test::GetFooMethods()
      {
          foo()-&gt;someMethod();
      }
      …
      …
  </code></pre>