Want to implement boost like signal template which takes function type as a parameter
<p>Sorry if the question is very basis. I am unable to find somehow to see one simple example code for template implementation as <strong>Boost.signals</strong>
like:</p>

<pre><code> boost::signal&lt;void ()&gt; sig;
</code></pre>

<p>What i know is the below:</p>

<pre><code> template &lt;class T&gt;
  TemplateClass {
      T t;
   };


   TemplateClass&lt;int&gt; a;
</code></pre>

<p>Kindly provide few pointers on it?</p>
