title: Cast a function pointer
body: <p>Suppose I have a function <pre><code>void myFun(int*) </code></pre>    In C++ what exactly does the following mean</p>
  
  <pre><code>
    ( void(*)(void*) )&myFun
  
  </code></pre>
  
  <p>Is it a pointer to a function that takes a <code>(void*)</code> as an argument and returns a <code>void</code>?    Is this type of cast permitted? </p>