Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > c74ab286c3d46f9b82671d206e43a74b > files > 1705

libstdc++-docs-4.6.3-2.fc15.i686.rpm

<!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>libstdc++: Adaptors for pointers to members</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.7.4 -->
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">libstdc++</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('a01199.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">Adaptors for pointers to members</div>  </div>
<div class="ingroups"><a class="el" href="a01193.html">Function Objects</a></div></div>
<div class="contents">
<div class="dynheader">
Collaboration diagram for Adaptors for pointers to members:</div>
<div class="dyncontent">
<center><table><tr><td><img src="a01199.png" border="0" alt="" usemap="#a01199"/>
<map name="a01199" id="a01199">
<area shape="rect" id="node2" href="a01193.html" title="Function Objects" alt="" coords="7,5,119,35"/></map>
</td></tr></table></center>
</div>
<h2><a name="nested-classes"></a>
Classes</h2>
<ul>
<li>class <a class="el" href="a00438.html">std::const_mem_fun1_ref_t&lt; _Ret, _Tp, _Arg &gt;</a>
<dl class="el"><dd class="mdescRight">One of the <a class="el" href="a01199.html">adaptors for member pointers</a>.  <a href="a00438.html#details">More...</a><br/></dl><li>class <a class="el" href="a00439.html">std::const_mem_fun1_t&lt; _Ret, _Tp, _Arg &gt;</a>
<dl class="el"><dd class="mdescRight">One of the <a class="el" href="a01199.html">adaptors for member pointers</a>.  <a href="a00439.html#details">More...</a><br/></dl><li>class <a class="el" href="a00440.html">std::const_mem_fun_ref_t&lt; _Ret, _Tp &gt;</a>
<dl class="el"><dd class="mdescRight">One of the <a class="el" href="a01199.html">adaptors for member pointers</a>.  <a href="a00440.html#details">More...</a><br/></dl><li>class <a class="el" href="a00441.html">std::const_mem_fun_t&lt; _Ret, _Tp &gt;</a>
<dl class="el"><dd class="mdescRight">One of the <a class="el" href="a01199.html">adaptors for member pointers</a>.  <a href="a00441.html#details">More...</a><br/></dl><li>class <a class="el" href="a00595.html">std::mem_fun1_ref_t&lt; _Ret, _Tp, _Arg &gt;</a>
<dl class="el"><dd class="mdescRight">One of the <a class="el" href="a01199.html">adaptors for member pointers</a>.  <a href="a00595.html#details">More...</a><br/></dl><li>class <a class="el" href="a00596.html">std::mem_fun1_t&lt; _Ret, _Tp, _Arg &gt;</a>
<dl class="el"><dd class="mdescRight">One of the <a class="el" href="a01199.html">adaptors for member pointers</a>.  <a href="a00596.html#details">More...</a><br/></dl><li>class <a class="el" href="a00597.html">std::mem_fun_ref_t&lt; _Ret, _Tp &gt;</a>
<dl class="el"><dd class="mdescRight">One of the <a class="el" href="a01199.html">adaptors for member pointers</a>.  <a href="a00597.html#details">More...</a><br/></dl><li>class <a class="el" href="a00598.html">std::mem_fun_t&lt; _Ret, _Tp &gt;</a>
<dl class="el"><dd class="mdescRight">One of the <a class="el" href="a01199.html">adaptors for member pointers</a>.  <a href="a00598.html#details">More...</a><br/></dl></ul>
<h2><a name="func-members"></a>
Functions</h2>
<ul>
<li><a class="anchor" id="ga58aa3b67eba2b8219e7aec7d4cdebcdb"></a><!-- doxytag: member="memory_adaptors::mem_fun" ref="ga58aa3b67eba2b8219e7aec7d4cdebcdb" args="(_Ret(_Tp::*__f)())" -->
template&lt;typename _Ret , typename _Tp &gt; mem_fun_t&lt; _Ret, _Tp &gt; <b>std::mem_fun</b> (_Ret(_Tp::*__f)())
<li><a class="anchor" id="ga46b3aee55bddccc454ea4f8edc26ffa7"></a><!-- doxytag: member="memory_adaptors::mem_fun" ref="ga46b3aee55bddccc454ea4f8edc26ffa7" args="(_Ret(_Tp::*__f)(_Arg))" -->
template&lt;typename _Ret , typename _Tp , typename _Arg &gt; mem_fun1_t&lt; _Ret, _Tp, _Arg &gt; <b>std::mem_fun</b> (_Ret(_Tp::*__f)(_Arg))
<li><a class="anchor" id="ga687f2e895f04650c387fb74407e1ca5e"></a><!-- doxytag: member="memory_adaptors::mem_fun_ref" ref="ga687f2e895f04650c387fb74407e1ca5e" args="(_Ret(_Tp::*__f)(_Arg))" -->
template&lt;typename _Ret , typename _Tp , typename _Arg &gt; mem_fun1_ref_t&lt; _Ret, _Tp, _Arg &gt; <b>std::mem_fun_ref</b> (_Ret(_Tp::*__f)(_Arg))
<li><a class="anchor" id="ga97d2206fa72b75b82c9055b9c5ea0c5e"></a><!-- doxytag: member="memory_adaptors::mem_fun_ref" ref="ga97d2206fa72b75b82c9055b9c5ea0c5e" args="(_Ret(_Tp::*__f)())" -->
template&lt;typename _Ret , typename _Tp &gt; mem_fun_ref_t&lt; _Ret, _Tp &gt; <b>std::mem_fun_ref</b> (_Ret(_Tp::*__f)())
</ul>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<p>There are a total of 8 = 2^3 function objects in this family. (1) Member functions taking no arguments vs member functions taking one argument. (2) Call through pointer vs call through reference. (3) Const vs non-const member function.</p>
<p>All of this complexity is in the function objects themselves. You can ignore it by using the helper function mem_fun and mem_fun_ref, which create whichever type of adaptor is appropriate. </p>
</div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="footer">Generated by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </li>
    </ul>
  </div>

</body>
</html>