title: Signals and binding arguments
body: <p>I'm using <code>boost::signals2</code> library and here is the simple code:</p>
  
  <pre><code>boost::signals2&lt;void ()&gt; sig;
  class Foo {
     void Slot() {}
  };
  
  Foo obj;
  sig.connect( boost.bind(&amp;Foo::Slot, &amp;obj) );
  </code></pre>
  
  <p>Everything works well. But now I want my signal to pass some data in arguments:</p>
  
  <pre><code>boost::signals2&lt;void (std::vector&lt;float&gt;)&gt; sig2;
  class Foo {
     void Slot2(std::vector&lt;float&gt;) {}
  };
  </code></pre>
  
  <p>What is the right way to bind Slot2 to signal again? </p>
  
  <p>Here is the error: <a href="http://dpaste.com/752076/" rel="nofollow">http://dpaste.com/752076/</a> when I use same connect&amp;binding code.</p>