<!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++: std::_Maybe_unary_or_binary_function< _Res, _T1, _T2 > Struct Template Reference</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('a00333.html',''); </script> <div id="doc-content"> <div class="header"> <div class="summary"> <a href="#pub-types">Public Types</a> </div> <div class="headertitle"> <div class="title">std::_Maybe_unary_or_binary_function< _Res, _T1, _T2 > Struct Template Reference</div> </div> </div> <div class="contents"> <!-- doxytag: class="std::_Maybe_unary_or_binary_function< _Res, _T1, _T2 >" --><!-- doxytag: inherits="binary_function< _T1, _T2, _Res >" --> <p>Derives from <code><a class="el" href="a00254.html">binary_function</a></code>, as appropriate. <a href="a00333.html#details">More...</a></p> <div class="dynheader"> Inheritance diagram for std::_Maybe_unary_or_binary_function< _Res, _T1, _T2 >:</div> <div class="dyncontent"> <div class="center"><img src="a01808.png" border="0" usemap="#std_1_1___maybe__unary__or__binary__function_3_01___res_00_01___t1_00_01___t2_01_4_inherit__map" alt="Inheritance graph"/></div> <map name="std_1_1___maybe__unary__or__binary__function_3_01___res_00_01___t1_00_01___t2_01_4_inherit__map" id="std_1_1___maybe__unary__or__binary__function_3_01___res_00_01___t1_00_01___t2_01_4_inherit__map"> <area shape="rect" id="node2" href="a00254.html" title="std::binary_function\< _T1, _T2, _Res \>" alt="" coords="60,101,289,131"/><area shape="rect" id="node4" href="a00254.html" title="std::binary_function\< _Arg1, _Arg2, _Result \>" alt="" coords="41,5,308,35"/></map> <center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div> <p><a href="a01809.html">List of all members.</a></p> <h2><a name="pub-types"></a> Public Types</h2> <ul> <li>typedef _T1 <a class="el" href="a00254.html#ad907337549df2e1a3c3dbca8e0693dba">first_argument_type</a> <li>typedef _Res <a class="el" href="a00254.html#a5fe0082d5851e1be6383ad8d8493264e">result_type</a> <li>typedef _T2 <a class="el" href="a00254.html#aae0f69fe498930627177ff1f06d0ef9f">second_argument_type</a> </ul> <hr/><a name="details" id="details"></a><h2>Detailed Description</h2> <div class="textblock"><h3>template<typename _Res, typename _T1, typename _T2><br/> struct std::_Maybe_unary_or_binary_function< _Res, _T1, _T2 ></h3> <p>Derives from <code><a class="el" href="a00254.html">binary_function</a></code>, as appropriate. </p> <p>Definition at line <a class="el" href="a00884_source.html#l00517">517</a> of file <a class="el" href="a00884_source.html">functional</a>.</p> </div><hr/><h2>Member Typedef Documentation</h2> <a class="anchor" id="ad907337549df2e1a3c3dbca8e0693dba"></a><!-- doxytag: member="std::_Maybe_unary_or_binary_function< _Res, _T1, _T2 >::first_argument_type" ref="ad907337549df2e1a3c3dbca8e0693dba" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef _T1 <a class="el" href="a00254.html">std::binary_function</a>< _T1 , _T2 , _Res >::<a class="el" href="a00254.html#ad907337549df2e1a3c3dbca8e0693dba">first_argument_type</a><code> [inherited]</code></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="a01050_source.html#l00118">118</a> of file <a class="el" href="a01050_source.html">stl_function.h</a>.</p> </div> </div> <a class="anchor" id="a5fe0082d5851e1be6383ad8d8493264e"></a><!-- doxytag: member="std::_Maybe_unary_or_binary_function< _Res, _T1, _T2 >::result_type" ref="a5fe0082d5851e1be6383ad8d8493264e" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef _Res <a class="el" href="a00254.html">std::binary_function</a>< _T1 , _T2 , _Res >::<a class="el" href="a00254.html#a5fe0082d5851e1be6383ad8d8493264e">result_type</a><code> [inherited]</code></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="a01050_source.html#l00124">124</a> of file <a class="el" href="a01050_source.html">stl_function.h</a>.</p> </div> </div> <a class="anchor" id="aae0f69fe498930627177ff1f06d0ef9f"></a><!-- doxytag: member="std::_Maybe_unary_or_binary_function< _Res, _T1, _T2 >::second_argument_type" ref="aae0f69fe498930627177ff1f06d0ef9f" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef _T2 <a class="el" href="a00254.html">std::binary_function</a>< _T1 , _T2 , _Res >::<a class="el" href="a00254.html#aae0f69fe498930627177ff1f06d0ef9f">second_argument_type</a><code> [inherited]</code></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="a01050_source.html#l00121">121</a> of file <a class="el" href="a01050_source.html">stl_function.h</a>.</p> </div> </div> <hr/>The documentation for this struct was generated from the following file:<ul> <li><a class="el" href="a00884_source.html">functional</a></li> </ul> </div> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="a01137.html">std</a> </li> <li class="navelem"><a class="el" href="a00333.html">_Maybe_unary_or_binary_function< _Res, _T1, _T2 ></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.7.4 </li> </ul> </div> </body> </html>