<!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::equal_to< _Tp > 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('a00462.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> </div> <div class="headertitle"> <div class="title">std::equal_to< _Tp > Struct Template Reference<div class="ingroups"><a class="el" href="a01195.html">Comparison Classes</a></div></div> </div> </div> <div class="contents"> <!-- doxytag: class="std::equal_to" --><!-- doxytag: inherits="binary_function< _Tp, _Tp, bool >" --> <p>One of the <a class="el" href="a01195.html">comparison functors</a>. <a href="a00462.html#details">More...</a></p> <div class="dynheader"> Inheritance diagram for std::equal_to< _Tp >:</div> <div class="dyncontent"> <div class="center"><img src="a01999.png" border="0" usemap="#std_1_1equal__to_3_01___tp_01_4_inherit__map" alt="Inheritance graph"/></div> <map name="std_1_1equal__to_3_01___tp_01_4_inherit__map" id="std_1_1equal__to_3_01___tp_01_4_inherit__map"> <area shape="rect" id="node2" href="a00254.html" title="std::binary_function\< _Tp, _Tp, bool \>" alt="" coords="25,101,252,131"/><area shape="rect" id="node4" href="a00254.html" title="std::binary_function\< _Arg1, _Arg2, _Result \>" alt="" coords="5,5,272,35"/></map> <center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div> <p><a href="a02000.html">List of all members.</a></p> <h2><a name="pub-types"></a> Public Types</h2> <ul> <li>typedef _Tp <a class="el" href="a00254.html#ad907337549df2e1a3c3dbca8e0693dba">first_argument_type</a> <li>typedef bool <a class="el" href="a00254.html#a5fe0082d5851e1be6383ad8d8493264e">result_type</a> <li>typedef _Tp <a class="el" href="a00254.html#aae0f69fe498930627177ff1f06d0ef9f">second_argument_type</a> </ul> <h2><a name="pub-methods"></a> Public Member Functions</h2> <ul> <li><a class="anchor" id="aef59bd5ef10557c6d99c90805de1550c"></a><!-- doxytag: member="std::equal_to::operator()" ref="aef59bd5ef10557c6d99c90805de1550c" args="(const _Tp &__x, const _Tp &__y) const " --> bool <b>operator()</b> (const _Tp &__x, const _Tp &__y) const </ul> <hr/><a name="details" id="details"></a><h2>Detailed Description</h2> <div class="textblock"><h3>template<typename _Tp><br/> struct std::equal_to< _Tp ></h3> <p>One of the <a class="el" href="a01195.html">comparison functors</a>. </p> <p>Definition at line <a class="el" href="a01050_source.html#l00205">205</a> of file <a class="el" href="a01050_source.html">stl_function.h</a>.</p> </div><hr/><h2>Member Typedef Documentation</h2> <a class="anchor" id="ad907337549df2e1a3c3dbca8e0693dba"></a><!-- doxytag: member="std::equal_to::first_argument_type" ref="ad907337549df2e1a3c3dbca8e0693dba" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef _Tp <a class="el" href="a00254.html">std::binary_function</a>< _Tp , _Tp , bool >::<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::equal_to::result_type" ref="a5fe0082d5851e1be6383ad8d8493264e" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef bool <a class="el" href="a00254.html">std::binary_function</a>< _Tp , _Tp , bool >::<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::equal_to::second_argument_type" ref="aae0f69fe498930627177ff1f06d0ef9f" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef _Tp <a class="el" href="a00254.html">std::binary_function</a>< _Tp , _Tp , bool >::<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="a01050_source.html">stl_function.h</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="a00462.html">equal_to</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>