Imported Upstream version 2.99.2
[platform/upstream/libsigc++.git] / docs / reference / html / group__bind.html
index 217e502..c67c9bc 100644 (file)
@@ -19,7 +19,7 @@
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
    <div id="projectname">libsigc++
-   &#160;<span id="projectnumber">2.99.1</span>
+   &#160;<span id="projectnumber">2.99.2</span>
    </div>
   </td>
  </tr>
@@ -91,10 +91,10 @@ Functions</h2></td></tr>
 <div class="line"><a class="code" href="group__bind.html#ga9ce84730439c5e1c688bc18c102e81ca">sigc::bind</a>(&amp;foo,1,2)(3);     <span class="comment">//fixes the last two arguments and calls foo(3,1,2)</span></div>
 <div class="line"><a class="code" href="group__bind.html#ga9ce84730439c5e1c688bc18c102e81ca">sigc::bind</a>(&amp;foo,1,2,3)();    <span class="comment">//fixes all three arguments and calls foo(1,2,3)</span></div>
 </div><!-- fragment --></dd></dl>
-<p>The functor <a class="el" href="group__bind.html#ga9ce84730439c5e1c688bc18c102e81ca" title="Creates an adaptor of type sigc::bind_functor which binds the passed argument to the passed functor...">sigc::bind()</a> returns can be passed into <a class="el" href="classsigc_1_1signal__with__accumulator.html#a5db7407d1b5c605c1197fcf6f78fda4a" title="Add a slot to the list of slots. ">sigc::signal::connect()</a> directly.</p>
-<dl class="section user"><dt>Example:</dt><dd><div class="fragment"><div class="line"><a class="code" href="classsigc_1_1signal.html">sigc::signal&lt;void&gt;</a> some_signal;</div>
+<p>The functor <a class="el" href="group__bind.html#ga9ce84730439c5e1c688bc18c102e81ca" title="Creates an adaptor of type sigc::bind_functor which binds the passed argument to the passed functor...">sigc::bind()</a> returns can be passed into sigc::signal::connect() directly.</p>
+<dl class="section user"><dt>Example:</dt><dd><div class="fragment"><div class="line"><a class="code" href="classsigc_1_1signal.html">sigc::signal&lt;void()&gt;</a> some_signal;</div>
 <div class="line"><span class="keywordtype">void</span> foo(<span class="keywordtype">int</span>);</div>
-<div class="line">some_signal.<a class="code" href="classsigc_1_1signal__with__accumulator.html#a5db7407d1b5c605c1197fcf6f78fda4a">connect</a>(<a class="code" href="group__bind.html#ga9ce84730439c5e1c688bc18c102e81ca">sigc::bind</a>(&amp;foo,1));</div>
+<div class="line">some_signal.connect(<a class="code" href="group__bind.html#ga9ce84730439c5e1c688bc18c102e81ca">sigc::bind</a>(&amp;foo,1));</div>
 </div><!-- fragment --></dd></dl>
 <p><a class="el" href="group__bind.html#gaca1ae2466988d67d00a5f2cd16c8d90a" title="Creates an adaptor of type sigc::bind_return_functor which fixes the return value of the passed funct...">sigc::bind_return()</a> alters an arbitrary functor by fixing its return value to a certain value.</p>
 <dl class="section user"><dt>Example:</dt><dd><div class="fragment"><div class="line"><span class="keywordtype">void</span> foo();</div>
@@ -102,15 +102,15 @@ Functions</h2></td></tr>
 </div><!-- fragment --></dd></dl>
 <p>You can bind references to functors by passing the objects through the std::ref() helper function.</p>
 <dl class="section user"><dt>Example:</dt><dd><div class="fragment"><div class="line"><span class="keywordtype">int</span> some_int;</div>
-<div class="line"><a class="code" href="classsigc_1_1signal.html">sigc::signal&lt;void&gt;</a> some_signal;</div>
+<div class="line"><a class="code" href="classsigc_1_1signal.html">sigc::signal&lt;void()&gt;</a> some_signal;</div>
 <div class="line"><span class="keywordtype">void</span> foo(<span class="keywordtype">int</span>&amp;);</div>
-<div class="line">some_signal.<a class="code" href="classsigc_1_1signal__with__accumulator.html#a5db7407d1b5c605c1197fcf6f78fda4a">connect</a>(<a class="code" href="group__bind.html#ga9ce84730439c5e1c688bc18c102e81ca">sigc::bind</a>(&amp;foo, std::ref(some_int)));</div>
+<div class="line">some_signal.connect(<a class="code" href="group__bind.html#ga9ce84730439c5e1c688bc18c102e81ca">sigc::bind</a>(&amp;foo, std::ref(some_int)));</div>
 </div><!-- fragment --></dd></dl>
 <p>If you bind an object of a <a class="el" href="structsigc_1_1trackable.html" title="Base class for objects with auto-disconnection. ">sigc::trackable</a> derived type to a functor by reference, a slot assigned to the bind adaptor is cleared automatically when the object goes out of scope.</p>
 <dl class="section user"><dt>Example:</dt><dd><div class="fragment"><div class="line"><span class="keyword">struct </span>bar : <span class="keyword">public</span> <a class="code" href="structsigc_1_1trackable.html">sigc::trackable</a> {} some_bar;</div>
-<div class="line"><a class="code" href="classsigc_1_1signal.html">sigc::signal&lt;void&gt;</a> some_signal;</div>
+<div class="line"><a class="code" href="classsigc_1_1signal.html">sigc::signal&lt;void()&gt;</a> some_signal;</div>
 <div class="line"><span class="keywordtype">void</span> foo(bar&amp;);</div>
-<div class="line">some_signal.<a class="code" href="classsigc_1_1signal__with__accumulator.html#a5db7407d1b5c605c1197fcf6f78fda4a">connect</a>(<a class="code" href="group__bind.html#ga9ce84730439c5e1c688bc18c102e81ca">sigc::bind</a>(&amp;foo, std::ref(some_bar)));</div>
+<div class="line">some_signal.connect(<a class="code" href="group__bind.html#ga9ce84730439c5e1c688bc18c102e81ca">sigc::bind</a>(&amp;foo, std::ref(some_bar)));</div>
 <div class="line">  <span class="comment">// disconnected automatically if some_bar goes out of scope</span></div>
 </div><!-- fragment --> </dd></dl>
 <h2 class="groupheader">Function Documentation</h2>
@@ -257,7 +257,7 @@ template &lt;class T_return , class T_functor &gt; </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 &#160;<a href="http://www.doxygen.org/index.html">
+Generated on Wed Mar 16 2016 20:53:27 for libsigc++ by &#160;<a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.9.1
 </small></address>