title: Returning a function object from a function C++
body: <p>let the following function:</p>
  <pre><code>returntype Foo(void(*bar)(const C&amp;));
  </code></pre>
  <p>what should be inserted instead of 'returntype' in order for Foo returning the passed
  function\functor aka 'bar'</p>