title: Can I use a function typedef in function definitions?
body: <p>I've defined:</p>
  
  <pre><code>typedef int FunkyFunc(int x);
  </code></pre>
  
  <p>Now, I would like to be able to use this typedef in the definition of functions of type <code>FunkyFunc</code>, e.g.</p>
  
  <pre><code>FunkyFunc f {
      return 2*x;
  }
  </code></pre>
  
  <p>or</p>
  
  <pre><code>FunkyFunc f(int x) {
      return 2*x;
  }
  </code></pre>
  
  <p>or</p>
  
  <pre><code>FunkyFunc f(x) {
      return 2*x;
  }
  </code></pre>
  
  <p>can I do something similar to any of the above? None of them seems to compile.</p>