]> git.tdb.fi Git - ext/sigc++-2.0.git/blob - untracked/docs/reference/html/classsigc_1_1bound__argument_3_01const__reference__wrapper_3_01T__wrapped_01_4_01_4.html
Import libsigc++ 2.10.8 sources
[ext/sigc++-2.0.git] / untracked / docs / reference / html / classsigc_1_1bound__argument_3_01const__reference__wrapper_3_01T__wrapped_01_4_01_4.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml">
3 <head>
4 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
6 <meta name="generator" content="Doxygen 1.9.1"/>
7 <meta name="viewport" content="width=device-width, initial-scale=1"/>
8 <title>libsigc++: sigc::bound_argument&lt; const_reference_wrapper&lt; T_wrapped &gt; &gt; Class Template Reference</title>
9 <link href="tabs.css" rel="stylesheet" type="text/css"/>
10 <script type="text/javascript" src="jquery.js"></script>
11 <script type="text/javascript" src="dynsections.js"></script>
12 <link href="doxygen.css" rel="stylesheet" type="text/css" />
13 <link href="doxygen-extra.css" rel="stylesheet" type="text/css"/>
14 </head>
15 <body>
16 <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
17 <div id="titlearea">
18 <table cellspacing="0" cellpadding="0">
19  <tbody>
20  <tr style="height: 56px;">
21   <td id="projectalign" style="padding-left: 0.5em;">
22    <div id="projectname">libsigc++
23    &#160;<span id="projectnumber">2.10.8</span>
24    </div>
25   </td>
26  </tr>
27  </tbody>
28 </table>
29 </div>
30 <!-- end header part -->
31 <!-- Generated by Doxygen 1.9.1 -->
32 <script type="text/javascript" src="menudata.js"></script>
33 <script type="text/javascript" src="menu.js"></script>
34 <script type="text/javascript">
35 /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
36 $(function() {
37   initMenu('',false,false,'search.php','Search');
38 });
39 /* @license-end */</script>
40 <div id="main-nav"></div>
41 <div id="nav-path" class="navpath">
42   <ul>
43 <li class="navelem"><a class="el" href="namespacesigc.html">sigc</a></li><li class="navelem"><a class="el" href="classsigc_1_1bound__argument_3_01const__reference__wrapper_3_01T__wrapped_01_4_01_4.html">bound_argument&lt; const_reference_wrapper&lt; T_wrapped &gt; &gt;</a></li>  </ul>
44 </div>
45 </div><!-- top -->
46 <div class="header">
47   <div class="summary">
48 <a href="#pub-methods">Public Member Functions</a> &#124;
49 <a href="classsigc_1_1bound__argument_3_01const__reference__wrapper_3_01T__wrapped_01_4_01_4-members.html">List of all members</a>  </div>
50   <div class="headertitle">
51 <div class="title">sigc::bound_argument&lt; const_reference_wrapper&lt; T_wrapped &gt; &gt; Class Template Reference</div>  </div>
52 </div><!--header-->
53 <div class="contents">
54
55 <p><a class="el" href="classsigc_1_1bound__argument.html" title="A bound_argument&lt;Foo&gt; object stores a bound (for instance, with sigc::bind(), or sigc::bind_return())...">bound_argument</a> object for a bound argument that is passed by <a class="el" href="group__bind.html#ga2f099bc6056b32f2a58134ba8537c6f4" title="Creates an adaptor of type sigc::bind_functor which binds the passed argument to the passed functor.">bind()</a> or returned by <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...">bind_return()</a> by const reference, specialized for const reference_wrapper&lt;&gt; types.  
56  <a href="classsigc_1_1bound__argument_3_01const__reference__wrapper_3_01T__wrapped_01_4_01_4.html#details">More...</a></p>
57
58 <p><code>#include &lt;sigc++/adaptors/bound_argument.h&gt;</code></p>
59 <table class="memberdecls">
60 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
61 Public Member Functions</h2></td></tr>
62 <tr class="memitem:afdfab4386d34bd03e82b05a2eb1f2afe"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsigc_1_1bound__argument_3_01const__reference__wrapper_3_01T__wrapped_01_4_01_4.html#afdfab4386d34bd03e82b05a2eb1f2afe">bound_argument</a> (const <a class="el" href="structsigc_1_1const__reference__wrapper.html">const_reference_wrapper</a>&lt; T_wrapped &gt; &amp; _A_argument)</td></tr>
63 <tr class="memdesc:afdfab4386d34bd03e82b05a2eb1f2afe"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor.  <a href="classsigc_1_1bound__argument_3_01const__reference__wrapper_3_01T__wrapped_01_4_01_4.html#afdfab4386d34bd03e82b05a2eb1f2afe">More...</a><br /></td></tr>
64 <tr class="separator:afdfab4386d34bd03e82b05a2eb1f2afe"><td class="memSeparator" colspan="2">&#160;</td></tr>
65 <tr class="memitem:aa08b2efa73ad0a928f0be217da940671"><td class="memItemLeft" align="right" valign="top">const T_wrapped &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsigc_1_1bound__argument_3_01const__reference__wrapper_3_01T__wrapped_01_4_01_4.html#aa08b2efa73ad0a928f0be217da940671">invoke</a> ()</td></tr>
66 <tr class="memdesc:aa08b2efa73ad0a928f0be217da940671"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieve the entity to pass to the bound functor or return.  <a href="classsigc_1_1bound__argument_3_01const__reference__wrapper_3_01T__wrapped_01_4_01_4.html#aa08b2efa73ad0a928f0be217da940671">More...</a><br /></td></tr>
67 <tr class="separator:aa08b2efa73ad0a928f0be217da940671"><td class="memSeparator" colspan="2">&#160;</td></tr>
68 <tr class="memitem:a11b6cda42100c2c463e50942c41ff9eb"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classsigc_1_1const__limit__reference.html">const_limit_reference</a>&lt; T_wrapped &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsigc_1_1bound__argument_3_01const__reference__wrapper_3_01T__wrapped_01_4_01_4.html#a11b6cda42100c2c463e50942c41ff9eb">visit</a> () const</td></tr>
69 <tr class="memdesc:a11b6cda42100c2c463e50942c41ff9eb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieve the entity to visit in <a class="el" href="group__sigcfunctors.html#ga64cb7832acc1e58efb5ffe0b4f5e9404" title="This function performs a functor on each of the targets of a functor.">visit_each()</a>.  <a href="classsigc_1_1bound__argument_3_01const__reference__wrapper_3_01T__wrapped_01_4_01_4.html#a11b6cda42100c2c463e50942c41ff9eb">More...</a><br /></td></tr>
70 <tr class="separator:a11b6cda42100c2c463e50942c41ff9eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
71 </table>
72 <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
73 <div class="textblock"><h3>template&lt;class T_wrapped&gt;<br />
74 class sigc::bound_argument&lt; const_reference_wrapper&lt; T_wrapped &gt; &gt;</h3>
75
76 <p><a class="el" href="classsigc_1_1bound__argument.html" title="A bound_argument&lt;Foo&gt; object stores a bound (for instance, with sigc::bind(), or sigc::bind_return())...">bound_argument</a> object for a bound argument that is passed by <a class="el" href="group__bind.html#ga2f099bc6056b32f2a58134ba8537c6f4" title="Creates an adaptor of type sigc::bind_functor which binds the passed argument to the passed functor.">bind()</a> or returned by <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...">bind_return()</a> by const reference, specialized for const reference_wrapper&lt;&gt; types. </p>
77 <ul>
78 <li><em>T_wrapped</em> The type of the bound argument. </li>
79 </ul>
80 </div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
81 <a id="afdfab4386d34bd03e82b05a2eb1f2afe"></a>
82 <h2 class="memtitle"><span class="permalink"><a href="#afdfab4386d34bd03e82b05a2eb1f2afe">&#9670;&#160;</a></span>bound_argument()</h2>
83
84 <div class="memitem">
85 <div class="memproto">
86 <div class="memtemplate">
87 template &lt;class T_wrapped &gt; </div>
88 <table class="mlabels">
89   <tr>
90   <td class="mlabels-left">
91       <table class="memname">
92         <tr>
93           <td class="memname"><a class="el" href="classsigc_1_1bound__argument.html">sigc::bound_argument</a>&lt; <a class="el" href="structsigc_1_1const__reference__wrapper.html">const_reference_wrapper</a>&lt; T_wrapped &gt; &gt;::<a class="el" href="classsigc_1_1bound__argument.html">bound_argument</a> </td>
94           <td>(</td>
95           <td class="paramtype">const <a class="el" href="structsigc_1_1const__reference__wrapper.html">const_reference_wrapper</a>&lt; T_wrapped &gt; &amp;&#160;</td>
96           <td class="paramname"><em>_A_argument</em></td><td>)</td>
97           <td></td>
98         </tr>
99       </table>
100   </td>
101   <td class="mlabels-right">
102 <span class="mlabels"><span class="mlabel">inline</span></span>  </td>
103   </tr>
104 </table>
105 </div><div class="memdoc">
106
107 <p>Constructor. </p>
108 <dl class="params"><dt>Parameters</dt><dd>
109   <table class="params">
110     <tr><td class="paramname">_A_argument</td><td>The argument to bind. </td></tr>
111   </table>
112   </dd>
113 </dl>
114
115 </div>
116 </div>
117 <h2 class="groupheader">Member Function Documentation</h2>
118 <a id="aa08b2efa73ad0a928f0be217da940671"></a>
119 <h2 class="memtitle"><span class="permalink"><a href="#aa08b2efa73ad0a928f0be217da940671">&#9670;&#160;</a></span>invoke()</h2>
120
121 <div class="memitem">
122 <div class="memproto">
123 <div class="memtemplate">
124 template &lt;class T_wrapped &gt; </div>
125 <table class="mlabels">
126   <tr>
127   <td class="mlabels-left">
128       <table class="memname">
129         <tr>
130           <td class="memname">const T_wrapped&amp; <a class="el" href="classsigc_1_1bound__argument.html">sigc::bound_argument</a>&lt; <a class="el" href="structsigc_1_1const__reference__wrapper.html">const_reference_wrapper</a>&lt; T_wrapped &gt; &gt;::invoke </td>
131           <td>(</td>
132           <td class="paramname"></td><td>)</td>
133           <td></td>
134         </tr>
135       </table>
136   </td>
137   <td class="mlabels-right">
138 <span class="mlabels"><span class="mlabel">inline</span></span>  </td>
139   </tr>
140 </table>
141 </div><div class="memdoc">
142
143 <p>Retrieve the entity to pass to the bound functor or return. </p>
144 <dl class="section return"><dt>Returns</dt><dd>The bound argument. </dd></dl>
145
146 </div>
147 </div>
148 <a id="a11b6cda42100c2c463e50942c41ff9eb"></a>
149 <h2 class="memtitle"><span class="permalink"><a href="#a11b6cda42100c2c463e50942c41ff9eb">&#9670;&#160;</a></span>visit()</h2>
150
151 <div class="memitem">
152 <div class="memproto">
153 <div class="memtemplate">
154 template &lt;class T_wrapped &gt; </div>
155 <table class="mlabels">
156   <tr>
157   <td class="mlabels-left">
158       <table class="memname">
159         <tr>
160           <td class="memname">const <a class="el" href="classsigc_1_1const__limit__reference.html">const_limit_reference</a>&lt;T_wrapped&gt;&amp; <a class="el" href="classsigc_1_1bound__argument.html">sigc::bound_argument</a>&lt; <a class="el" href="structsigc_1_1const__reference__wrapper.html">const_reference_wrapper</a>&lt; T_wrapped &gt; &gt;::visit </td>
161           <td>(</td>
162           <td class="paramname"></td><td>)</td>
163           <td> const</td>
164         </tr>
165       </table>
166   </td>
167   <td class="mlabels-right">
168 <span class="mlabels"><span class="mlabel">inline</span></span>  </td>
169   </tr>
170 </table>
171 </div><div class="memdoc">
172
173 <p>Retrieve the entity to visit in <a class="el" href="group__sigcfunctors.html#ga64cb7832acc1e58efb5ffe0b4f5e9404" title="This function performs a functor on each of the targets of a functor.">visit_each()</a>. </p>
174 <dl class="section return"><dt>Returns</dt><dd>The const_limited_reference to the bound argument. </dd></dl>
175
176 </div>
177 </div>
178 </div><!-- contents -->
179 <!-- start footer part -->
180 <hr class="footer"/><address class="footer"><small>
181 Generated on Fri Feb 11 2022 15:40:57 for libsigc++ by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1
182 </small></address>
183 </body>
184 </html>