<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">libsigc++
-  <span id="projectnumber">2.99.1</span>
+  <span id="projectnumber">2.99.2</span>
</div>
</td>
</tr>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<p>Slots are type-safe representations of callback methods and functions. </p>
<p>A slot can be constructed from any function object or function, regardless of whether it is a global function, a member method, static, or virtual.</p>
-<p>Use the <a class="el" href="group__mem__fun.html#ga6ed5c519845b36eb7c6461ebd2a073c9" title="Creates a functor of type sigc::mem_functor which wraps a method. ">sigc::mem_fun()</a> and <a class="el" href="group__ptr__fun.html#ga6a373493892e21ba59b2d998036d7886" title="Creates a functor of type sigc::pointer_functor which wraps an existing non-member function...">sigc::ptr_fun()</a> template functions to get a <a class="el" href="classsigc_1_1slot.html" title="Converts an arbitrary functor to a unified type which is opaque. ">sigc::slot</a>, like so: </p><div class="fragment"><div class="line"><a class="code" href="classsigc_1_1slot.html">sigc::slot<void, int></a> sl = <a class="code" href="group__mem__fun.html#ga6ed5c519845b36eb7c6461ebd2a073c9">sigc::mem_fun</a>(someobj,& SomeClass::somemethod);</div>
-</div><!-- fragment --><p> or </p><div class="fragment"><div class="line"><a class="code" href="classsigc_1_1slot.html">sigc::slot<void, int></a> sl = <a class="code" href="group__ptr__fun.html#ga6a373493892e21ba59b2d998036d7886">sigc::ptr_fun</a>(&somefunction);</div>
+<p>Use the <a class="el" href="group__mem__fun.html#ga6ed5c519845b36eb7c6461ebd2a073c9" title="Creates a functor of type sigc::mem_functor which wraps a method. ">sigc::mem_fun()</a> and <a class="el" href="group__ptr__fun.html#ga203dd1ac5747cf2f3d2b2d590ad32e82" title="Creates a functor of type sigc::pointer_functor which wraps an existing non-member function...">sigc::ptr_fun()</a> template functions to get a <a class="el" href="classsigc_1_1slot.html" title="Converts an arbitrary functor to a unified type which is opaque. ">sigc::slot</a>, like so: </p><div class="fragment"><div class="line"><a class="code" href="classsigc_1_1slot.html">sigc::slot<void(int)></a> sl = <a class="code" href="group__mem__fun.html#ga6ed5c519845b36eb7c6461ebd2a073c9">sigc::mem_fun</a>(someobj,& SomeClass::somemethod);</div>
+</div><!-- fragment --><p> or </p><div class="fragment"><div class="line"><a class="code" href="classsigc_1_1slot.html">sigc::slot<void(int)></a> sl = <a class="code" href="group__ptr__fun.html#ga203dd1ac5747cf2f3d2b2d590ad32e82">sigc::ptr_fun</a>(&somefunction);</div>
</div><!-- fragment --><p> or, in gtkmm, </p><div class="fragment"><div class="line">m_Button.signal_clicked().connect( <a class="code" href="group__mem__fun.html#ga6ed5c519845b36eb7c6461ebd2a073c9">sigc::mem_fun</a>(*<span class="keyword">this</span>, &MyWindow::on_button_clicked) );</div>
</div><!-- fragment --><p>The compiler will complain if SomeClass::somemethod, etc. have the wrong signature.</p>
<p>You can also pass slots as method parameters where you might normally pass a function pointer.</p>
-<p><a class="el" href="group__mem__fun.html#ga6ed5c519845b36eb7c6461ebd2a073c9" title="Creates a functor of type sigc::mem_functor which wraps a method. ">sigc::mem_fun()</a> and <a class="el" href="group__ptr__fun.html#ga6a373493892e21ba59b2d998036d7886" title="Creates a functor of type sigc::pointer_functor which wraps an existing non-member function...">sigc::ptr_fun()</a> return functors, but those functors are not slots. </p><div class="fragment"><div class="line"><a class="code" href="classsigc_1_1slot.html">sigc::slot<void, int></a> sl = <a class="code" href="group__mem__fun.html#ga6ed5c519845b36eb7c6461ebd2a073c9">sigc::mem_fun</a>(someobj,& SomeClass::somemethod);</div>
+<p><a class="el" href="group__mem__fun.html#ga6ed5c519845b36eb7c6461ebd2a073c9" title="Creates a functor of type sigc::mem_functor which wraps a method. ">sigc::mem_fun()</a> and <a class="el" href="group__ptr__fun.html#ga203dd1ac5747cf2f3d2b2d590ad32e82" title="Creates a functor of type sigc::pointer_functor which wraps an existing non-member function...">sigc::ptr_fun()</a> return functors, but those functors are not slots. </p><div class="fragment"><div class="line"><a class="code" href="classsigc_1_1slot.html">sigc::slot<void(int)></a> sl = <a class="code" href="group__mem__fun.html#ga6ed5c519845b36eb7c6461ebd2a073c9">sigc::mem_fun</a>(someobj,& SomeClass::somemethod);</div>
</div><!-- fragment --><p> is not equivalent to </p><div class="fragment"><div class="line"><span class="keyword">auto</span> sl = <a class="code" href="group__mem__fun.html#ga6ed5c519845b36eb7c6461ebd2a073c9">sigc::mem_fun</a>(someobj, &SomeClass::somemethod); <span class="comment">// Not a slot!</span></div>
</div><!-- fragment --><p>A C++11 lambda expression is a functor (function object). It is automatically wrapped in a slot, if it is connected to a signal. </p><div class="fragment"><div class="line"><span class="keyword">auto</span> on_response = [&someobj] (<span class="keywordtype">int</span> response_id)</div>
<div class="line"> {</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
-Generated on Mon Mar 7 2016 11:43:49 for libsigc++ by  <a href="http://www.doxygen.org/index.html">
+Generated on Wed Mar 16 2016 20:53:27 for libsigc++ by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.9.1
</small></address>