<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <title>libsigc++: sigc::bound_argument< const_reference_wrapper< T_wrapped > > Class Template Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.7.2 --> <div class="navigation" id="top"> <div class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> </ul> </div> <div class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="classes.html"><span>Class Index</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div class="navpath"> <ul> <li><a class="el" href="namespacesigc.html">sigc</a> </li> <li><a class="el" href="classsigc_1_1bound__argument_3_01const__reference__wrapper_3_01T__wrapped_01_4_01_4.html">bound_argument< const_reference_wrapper< T_wrapped > ></a> </li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> </div> <div class="headertitle"> <h1>sigc::bound_argument< const_reference_wrapper< T_wrapped > > Class Template Reference</h1> </div> </div> <div class="contents"> <!-- doxytag: class="sigc::bound_argument< const_reference_wrapper< T_wrapped > >" --> <p><a class="el" href="classsigc_1_1bound__argument.html" title="A bound_argument<Foo> object stores a bound (for instance, with sigc::bind(), or sigc::bind_return()) argument.">bound_argument</a> object for a bound argument that is passed by <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01178.html#ga14c36eec6e128c2003e69170f5804a2e">bind()</a> or returned by <a class="el" href="group__bind.html#ga8a001b0bb588d2ac1af712781b89dc8a" 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<> types. <a href="#_details">More...</a></p> <p><code>#include <sigc++/adaptors/bound_argument.h></code></p> <p><a href="classsigc_1_1bound__argument_3_01const__reference__wrapper_3_01T__wrapped_01_4_01_4-members.html">List of all members.</a></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </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>< T_wrapped >& _A_argument)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#afdfab4386d34bd03e82b05a2eb1f2afe"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classsigc_1_1const__limit__reference.html">const_limit_reference</a><br class="typebreak"/> < T_wrapped >& </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#af582d504a83ac50bf326c05f80adc79b">visit</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieve the entity to visit in <a class="el" href="group__sigcfunctors.html#gadab29aed05524743da16319da4430541" title="This function performs a functor on each of the targets of a functor.">visit_each()</a>. <a href="#af582d504a83ac50bf326c05f80adc79b"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">const T_wrapped& </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> <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieve the entity to pass to the bound functor or return. <a href="#aa08b2efa73ad0a928f0be217da940671"></a><br/></td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <h3>template <class T_wrapped><br/> class sigc::bound_argument< const_reference_wrapper< T_wrapped > ></h3> <p><a class="el" href="classsigc_1_1bound__argument.html" title="A bound_argument<Foo> object stores a bound (for instance, with sigc::bind(), or sigc::bind_return()) argument.">bound_argument</a> object for a bound argument that is passed by <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01178.html#ga14c36eec6e128c2003e69170f5804a2e">bind()</a> or returned by <a class="el" href="group__bind.html#ga8a001b0bb588d2ac1af712781b89dc8a" 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<> types. </p> <ul> <li><em>T_wrapped</em> The type of the bound argument. </li> </ul> <hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="afdfab4386d34bd03e82b05a2eb1f2afe"></a><!-- doxytag: member="sigc::bound_argument< const_reference_wrapper< T_wrapped > >::bound_argument" ref="afdfab4386d34bd03e82b05a2eb1f2afe" args="(const const_reference_wrapper< T_wrapped > &_A_argument)" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template <class T_wrapped > </div> <table class="memname"> <tr> <td class="memname"><a class="el" href="classsigc_1_1bound__argument.html">sigc::bound_argument</a>< <a class="el" href="structsigc_1_1const__reference__wrapper.html">const_reference_wrapper</a>< T_wrapped > >::<a class="el" href="classsigc_1_1bound__argument.html">bound_argument</a> </td> <td>(</td> <td class="paramtype">const <a class="el" href="structsigc_1_1const__reference__wrapper.html">const_reference_wrapper</a>< T_wrapped >& </td> <td class="paramname"> <em>_A_argument</em> )</td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Constructor. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">_A_argument</td><td>The argument to bind. </td></tr> </table> </dd> </dl> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="aa08b2efa73ad0a928f0be217da940671"></a><!-- doxytag: member="sigc::bound_argument< const_reference_wrapper< T_wrapped > >::invoke" ref="aa08b2efa73ad0a928f0be217da940671" args="()" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template <class T_wrapped > </div> <table class="memname"> <tr> <td class="memname">const T_wrapped& <a class="el" href="classsigc_1_1bound__argument.html">sigc::bound_argument</a>< <a class="el" href="structsigc_1_1const__reference__wrapper.html">const_reference_wrapper</a>< T_wrapped > >::invoke </td> <td>(</td> <td class="paramname"> )</td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Retrieve the entity to pass to the bound functor or return. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>The bound argument. </dd></dl> </div> </div> <a class="anchor" id="af582d504a83ac50bf326c05f80adc79b"></a><!-- doxytag: member="sigc::bound_argument< const_reference_wrapper< T_wrapped > >::visit" ref="af582d504a83ac50bf326c05f80adc79b" args="() const " --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template <class T_wrapped > </div> <table class="memname"> <tr> <td class="memname">const <a class="el" href="classsigc_1_1const__limit__reference.html">const_limit_reference</a><T_wrapped>& <a class="el" href="classsigc_1_1bound__argument.html">sigc::bound_argument</a>< <a class="el" href="structsigc_1_1const__reference__wrapper.html">const_reference_wrapper</a>< T_wrapped > >::visit </td> <td>(</td> <td class="paramname"> )</td> <td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Retrieve the entity to visit in <a class="el" href="group__sigcfunctors.html#gadab29aed05524743da16319da4430541" title="This function performs a functor on each of the targets of a functor.">visit_each()</a>. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>The const_limited_reference to the bound argument. </dd></dl> </div> </div> </div> <hr class="footer"/><address class="footer"><small>Generated on Tue Mar 8 2011 11:44:40 for libsigc++ by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.2 </small></address> </body> </html>