title: C++, get the name of the function
body: <p>In C++, is there a way to get the function signature/name from it's pointer like this?</p>
  
  <pre><code>void test(float data) {}
  cout &lt;&lt; typeid(&amp;test).name();
  </code></pre>
  
  <p>I want to use this data for logging.</p>