<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>mrpt::utils::metaprogramming::NonConstBind1st Class Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> </head><body> <div align="left"><a href="http://www.mrpt.org/">Main MRPT website</a> > <b>C++ reference</b> </div> <div align="right"> <a href="index.html"><img border="0" src="mrpt_logo.png" alt="MRPT logo"></a> </div> <!-- Generated by Doxygen 1.7.5 --> <script type="text/javascript"> var searchBox = new SearchBox("searchBox", "search",false,'Search'); </script> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</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> <li><a href="files.html"><span>Files</span></a></li> <li> <div id="MSearchBox" class="MSearchBoxInactive"> <div class="left"> <form id="FSearchBox" action="search.php" method="get"> <img id="MSearchSelect" src="search/mag.png" alt=""/> <input type="text" id="MSearchField" name="query" value="Search" size="20" accesskey="S" onfocus="searchBox.OnSearchFieldFocus(true)" onblur="searchBox.OnSearchFieldFocus(false)"/> </form> </div><div class="right"></div> </div> </li> </ul> </div> <div id="navrow2" 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="inherits.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="namespacemrpt.html">mrpt</a> </li> <li class="navelem"><a class="el" href="namespacemrpt_1_1utils.html">utils</a> </li> <li class="navelem"><a class="el" href="namespacemrpt_1_1utils_1_1metaprogramming.html">metaprogramming</a> </li> <li class="navelem"><a class="el" href="classmrpt_1_1utils_1_1metaprogramming_1_1_non_const_bind1st.html">NonConstBind1st</a> </li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#pub-types">Public Types</a> | <a href="#pub-methods">Public Member Functions</a> | <a href="#pri-attribs">Private Attributes</a> </div> <div class="headertitle"> <div class="title">mrpt::utils::metaprogramming::NonConstBind1st Class Reference<div class="ingroups"><a class="el" href="group__stlext__grp.html">STL extensions and metaprogramming</a></div></div> </div> </div> <div class="contents"> <!-- doxytag: class="mrpt::utils::metaprogramming::NonConstBind1st" --><hr/><a name="details" id="details"></a><h2>Detailed Description</h2> <div class="textblock"><p>Equivalent of std::bind1st for functions with non-const arguments. </p> </div> <p><code>#include <<a class="el" href="metaprogramming_8h_source.html">mrpt/utils/metaprogramming.h</a>></code></p> <p><a href="classmrpt_1_1utils_1_1metaprogramming_1_1_non_const_bind1st-members.html">List of all members.</a></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="pub-types"></a> Public Types</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">typedef Op::second_argument_type </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1metaprogramming_1_1_non_const_bind1st.html#af43841e733b3487268e5d027d0b51b78">argument_type</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">typedef Op::result_type </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1metaprogramming_1_1_non_const_bind1st.html#abca6a5bf6431063d1c1a6c46d036d0d6">result_type</a></td></tr> <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="classmrpt_1_1utils_1_1metaprogramming_1_1_non_const_bind1st.html#a89862295eeabdcfe6600b22987ab55c7">NonConstBind1st</a> (Op &o, typename Op::first_argument_type &t)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmrpt_1_1utils_1_1metaprogramming_1_1_non_const_bind1st.html#abca6a5bf6431063d1c1a6c46d036d0d6">result_type</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1metaprogramming_1_1_non_const_bind1st.html#a0b5371411fc574b4388028d3ffefcf6d">operator()</a> (<a class="el" href="classmrpt_1_1utils_1_1metaprogramming_1_1_non_const_bind1st.html#af43841e733b3487268e5d027d0b51b78">argument_type</a> &s)</td></tr> <tr><td colspan="2"><h2><a name="pri-attribs"></a> Private Attributes</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">Op & </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1metaprogramming_1_1_non_const_bind1st.html#a139708e58429ff2d10c501e2ab4cd3ac">op</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">Op::first_argument_type & </td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1metaprogramming_1_1_non_const_bind1st.html#ae17a7cc118f0f12937b5ba080687ada8">val</a></td></tr> </table> <hr/><h2>Member Typedef Documentation</h2> <a class="anchor" id="af43841e733b3487268e5d027d0b51b78"></a><!-- doxytag: member="mrpt::utils::metaprogramming::NonConstBind1st::argument_type" ref="af43841e733b3487268e5d027d0b51b78" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef Op::second_argument_type <a class="el" href="classmrpt_1_1utils_1_1metaprogramming_1_1_non_const_bind1st.html#af43841e733b3487268e5d027d0b51b78">mrpt::utils::metaprogramming::NonConstBind1st::argument_type</a></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="metaprogramming_8h_source.html#l00347">347</a> of file <a class="el" href="metaprogramming_8h_source.html">metaprogramming.h</a>.</p> </div> </div> <a class="anchor" id="abca6a5bf6431063d1c1a6c46d036d0d6"></a><!-- doxytag: member="mrpt::utils::metaprogramming::NonConstBind1st::result_type" ref="abca6a5bf6431063d1c1a6c46d036d0d6" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef Op::result_type <a class="el" href="classmrpt_1_1utils_1_1metaprogramming_1_1_non_const_bind1st.html#abca6a5bf6431063d1c1a6c46d036d0d6">mrpt::utils::metaprogramming::NonConstBind1st::result_type</a></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="metaprogramming_8h_source.html#l00348">348</a> of file <a class="el" href="metaprogramming_8h_source.html">metaprogramming.h</a>.</p> </div> </div> <hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="a89862295eeabdcfe6600b22987ab55c7"></a><!-- doxytag: member="mrpt::utils::metaprogramming::NonConstBind1st::NonConstBind1st" ref="a89862295eeabdcfe6600b22987ab55c7" args="(Op &o, typename Op::first_argument_type &t)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">mrpt::utils::metaprogramming::NonConstBind1st::NonConstBind1st </td> <td>(</td> <td class="paramtype">Op & </td> <td class="paramname"><em>o</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">typename Op::first_argument_type & </td> <td class="paramname"><em>t</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="metaprogramming_8h_source.html#l00349">349</a> of file <a class="el" href="metaprogramming_8h_source.html">metaprogramming.h</a>.</p> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="a0b5371411fc574b4388028d3ffefcf6d"></a><!-- doxytag: member="mrpt::utils::metaprogramming::NonConstBind1st::operator()" ref="a0b5371411fc574b4388028d3ffefcf6d" args="(argument_type &s)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classmrpt_1_1utils_1_1metaprogramming_1_1_non_const_bind1st.html#abca6a5bf6431063d1c1a6c46d036d0d6">result_type</a> mrpt::utils::metaprogramming::NonConstBind1st::operator() </td> <td>(</td> <td class="paramtype"><a class="el" href="classmrpt_1_1utils_1_1metaprogramming_1_1_non_const_bind1st.html#af43841e733b3487268e5d027d0b51b78">argument_type</a> & </td> <td class="paramname"><em>s</em></td><td>)</td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="metaprogramming_8h_source.html#l00350">350</a> of file <a class="el" href="metaprogramming_8h_source.html">metaprogramming.h</a>.</p> <p>References <a class="el" href="metaprogramming_8h_source.html#l00344">op</a>, and <a class="el" href="metaprogramming_8h_source.html#l00345">val</a>.</p> </div> </div> <hr/><h2>Member Data Documentation</h2> <a class="anchor" id="a139708e58429ff2d10c501e2ab4cd3ac"></a><!-- doxytag: member="mrpt::utils::metaprogramming::NonConstBind1st::op" ref="a139708e58429ff2d10c501e2ab4cd3ac" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Op& <a class="el" href="classmrpt_1_1utils_1_1metaprogramming_1_1_non_const_bind1st.html#a139708e58429ff2d10c501e2ab4cd3ac">mrpt::utils::metaprogramming::NonConstBind1st::op</a><code> [private]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="metaprogramming_8h_source.html#l00344">344</a> of file <a class="el" href="metaprogramming_8h_source.html">metaprogramming.h</a>.</p> <p>Referenced by <a class="el" href="metaprogramming_8h_source.html#l00350">operator()()</a>.</p> </div> </div> <a class="anchor" id="ae17a7cc118f0f12937b5ba080687ada8"></a><!-- doxytag: member="mrpt::utils::metaprogramming::NonConstBind1st::val" ref="ae17a7cc118f0f12937b5ba080687ada8" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Op::first_argument_type& <a class="el" href="classmrpt_1_1utils_1_1metaprogramming_1_1_non_const_bind1st.html#ae17a7cc118f0f12937b5ba080687ada8">mrpt::utils::metaprogramming::NonConstBind1st::val</a><code> [private]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="metaprogramming_8h_source.html#l00345">345</a> of file <a class="el" href="metaprogramming_8h_source.html">metaprogramming.h</a>.</p> <p>Referenced by <a class="el" href="metaprogramming_8h_source.html#l00350">operator()()</a>.</p> </div> </div> </div> <br><hr><br> <table border="0" width="100%"> <tr> <td> Page generated by <a href="http://www.doxygen.org" target="_blank">Doxygen 1.7.5</a> for MRPT 0.9.5 SVN: at Sun Sep 25 17:20:18 UTC 2011</td><td></td> <td width="100"> </td> <td width="150"> </td></tr> </table> </body></html>