<!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"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.3"/> <title>libstdc++: std::pointer_to_binary_function< _Arg1, _Arg2, _Result > Class Template Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="navtree.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="resize.js"></script> <script type="text/javascript" src="navtree.js"></script> <script type="text/javascript"> $(document).ready(initResizable); $(window).load(resizeHeight); </script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <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> <!-- end header part --> <!-- Generated by Doxygen 1.8.3 --> </div><!-- top --> <div id="side-nav" class="ui-resizable side-nav-resizable"> <div id="nav-tree"> <div id="nav-tree-contents"> <div id="nav-sync" class="sync"></div> </div> </div> <div id="splitbar" style="-moz-user-select:none;" class="ui-resizable-handle"> </div> </div> <script type="text/javascript"> $(document).ready(function(){initNavTree('a00876.html','');}); </script> <div id="doc-content"> <div class="header"> <div class="summary"> <a href="#pub-types">Public Types</a> | <a href="#pub-methods">Public Member Functions</a> | <a href="#pro-attribs">Protected Attributes</a> | <a href="a03177.html">List of all members</a> </div> <div class="headertitle"> <div class="title">std::pointer_to_binary_function< _Arg1, _Arg2, _Result > Class Template Reference<div class="ingroups"><a class="el" href="a01662.html">Adaptors for pointers to functions</a></div></div> </div> </div><!--header--> <div class="contents"> <div class="dynheader"> Inheritance diagram for std::pointer_to_binary_function< _Arg1, _Arg2, _Result >:</div> <div class="dyncontent"> <div class="center"><img src="a03178.png" border="0" usemap="#std_1_1pointer__to__binary__function_3_01___arg1_00_01___arg2_00_01___result_01_4_inherit__map" alt="Inheritance graph"/></div> <map name="std_1_1pointer__to__binary__function_3_01___arg1_00_01___arg2_00_01___result_01_4_inherit__map" id="std_1_1pointer__to__binary__function_3_01___arg1_00_01___arg2_00_01___result_01_4_inherit__map"> <area shape="rect" id="node2" href="a00435.html" title="std::binary_function\l\< _Arg1, _Arg2, _Result \>" alt="" coords="5,6,168,45"/></map> <center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a> Public Types</h2></td></tr> <tr class="memitem:ad907337549df2e1a3c3dbca8e0693dba"><td class="memItemLeft" align="right" valign="top">typedef _Arg1 </td><td class="memItemRight" valign="bottom"><a class="el" href="a00435.html#ad907337549df2e1a3c3dbca8e0693dba">first_argument_type</a></td></tr> <tr class="separator:ad907337549df2e1a3c3dbca8e0693dba"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a5fe0082d5851e1be6383ad8d8493264e"><td class="memItemLeft" align="right" valign="top">typedef _Result </td><td class="memItemRight" valign="bottom"><a class="el" href="a00435.html#a5fe0082d5851e1be6383ad8d8493264e">result_type</a></td></tr> <tr class="separator:a5fe0082d5851e1be6383ad8d8493264e"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aae0f69fe498930627177ff1f06d0ef9f"><td class="memItemLeft" align="right" valign="top">typedef _Arg2 </td><td class="memItemRight" valign="bottom"><a class="el" href="a00435.html#aae0f69fe498930627177ff1f06d0ef9f">second_argument_type</a></td></tr> <tr class="separator:aae0f69fe498930627177ff1f06d0ef9f"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr class="memitem:a7a8b66cf082658a2bc1ec1edfb428429"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7a8b66cf082658a2bc1ec1edfb428429"></a>  </td><td class="memItemRight" valign="bottom"><b>pointer_to_binary_function</b> (_Result(*__x)(_Arg1, _Arg2))</td></tr> <tr class="separator:a7a8b66cf082658a2bc1ec1edfb428429"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ad015bef9d5d9bf6b402e84dbb7ecdbe8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad015bef9d5d9bf6b402e84dbb7ecdbe8"></a> _Result </td><td class="memItemRight" valign="bottom"><b>operator()</b> (_Arg1 __x, _Arg2 __y) const </td></tr> <tr class="separator:ad015bef9d5d9bf6b402e84dbb7ecdbe8"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a> Protected Attributes</h2></td></tr> <tr class="memitem:a6f0139e4e778855de0d9a6ee7dc40d99"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6f0139e4e778855de0d9a6ee7dc40d99"></a> _Result(* </td><td class="memItemRight" valign="bottom"><b>_M_ptr</b> )(_Arg1, _Arg2)</td></tr> <tr class="separator:a6f0139e4e778855de0d9a6ee7dc40d99"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><h3>template<typename _Arg1, typename _Arg2, typename _Result><br/> class std::pointer_to_binary_function< _Arg1, _Arg2, _Result ></h3> <p>One of the <a class="el" href="a01662.html">adaptors for function pointers</a>. </p> <p>Definition at line <a class="el" href="a01495_source.html#l00449">449</a> of file <a class="el" href="a01495_source.html">stl_function.h</a>.</p> </div><h2 class="groupheader">Member Typedef Documentation</h2> <a class="anchor" id="ad907337549df2e1a3c3dbca8e0693dba"></a> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename _Arg1, typename _Arg2, typename _Result> </div> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">typedef _Arg1 <a class="el" href="a00435.html">std::binary_function</a>< _Arg1, _Arg2, _Result >::<a class="el" href="a00435.html#ad907337549df2e1a3c3dbca8e0693dba">first_argument_type</a></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inherited</span></span> </td> </tr> </table> </div><div class="memdoc"> <p><code>first_argument_type</code> is the type of the first argument </p> <p>Definition at line <a class="el" href="a01495_source.html#l00119">119</a> of file <a class="el" href="a01495_source.html">stl_function.h</a>.</p> </div> </div> <a class="anchor" id="a5fe0082d5851e1be6383ad8d8493264e"></a> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename _Arg1, typename _Arg2, typename _Result> </div> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">typedef _Result <a class="el" href="a00435.html">std::binary_function</a>< _Arg1, _Arg2, _Result >::<a class="el" href="a00435.html#a5fe0082d5851e1be6383ad8d8493264e">result_type</a></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inherited</span></span> </td> </tr> </table> </div><div class="memdoc"> <p><code>result_type</code> is the return type </p> <p>Definition at line <a class="el" href="a01495_source.html#l00125">125</a> of file <a class="el" href="a01495_source.html">stl_function.h</a>.</p> </div> </div> <a class="anchor" id="aae0f69fe498930627177ff1f06d0ef9f"></a> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename _Arg1, typename _Arg2, typename _Result> </div> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">typedef _Arg2 <a class="el" href="a00435.html">std::binary_function</a>< _Arg1, _Arg2, _Result >::<a class="el" href="a00435.html#aae0f69fe498930627177ff1f06d0ef9f">second_argument_type</a></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inherited</span></span> </td> </tr> </table> </div><div class="memdoc"> <p><code>second_argument_type</code> is the type of the second argument </p> <p>Definition at line <a class="el" href="a01495_source.html#l00122">122</a> of file <a class="el" href="a01495_source.html">stl_function.h</a>.</p> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="a01495_source.html">stl_function.h</a></li> </ul> </div><!-- contents --> </div><!-- doc-content --> <!-- start footer part --> <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> <ul> <li class="navelem"><a class="el" href="a01604.html">std</a></li><li class="navelem"><a class="el" href="a00876.html">pointer_to_binary_function</a></li> <li class="footer">Generated by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.3 </li> </ul> </div> </body> </html>