<!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::negate< _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('a00614.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::negate< _Tp > Struct Template Reference<div class="ingroups"><a class="el" href="a01194.html">Arithmetic Classes</a></div></div> </div> </div> <div class="contents"> <!-- doxytag: class="std::negate" --><!-- doxytag: inherits="unary_function< _Tp, _Tp >" --> <p>One of the <a class="el" href="a01194.html">math functors</a>. <a href="a00614.html#details">More...</a></p> <div class="dynheader"> Inheritance diagram for std::negate< _Tp >:</div> <div class="dyncontent"> <div class="center"><img src="a02259.png" border="0" usemap="#std_1_1negate_3_01___tp_01_4_inherit__map" alt="Inheritance graph"/></div> <map name="std_1_1negate_3_01___tp_01_4_inherit__map" id="std_1_1negate_3_01___tp_01_4_inherit__map"> <area shape="rect" id="node2" href="a00723.html" title="std::unary_function\< _Tp, _Tp \>" alt="" coords="19,101,211,131"/><area shape="rect" id="node4" href="a00723.html" title="std::unary_function\< _Arg, _Result \>" alt="" coords="5,5,224,35"/></map> <center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div> <p><a href="a02260.html">List of all members.</a></p> <h2><a name="pub-types"></a> Public Types</h2> <ul> <li>typedef _Tp <a class="el" href="a00723.html#a6e96c92b2592035c938f85ab1da1c876">argument_type</a> <li>typedef _Tp <a class="el" href="a00723.html#a70d48de710aa15c5e811cbcf6c8bdd61">result_type</a> </ul> <h2><a name="pub-methods"></a> Public Member Functions</h2> <ul> <li><a class="anchor" id="a3524d6766e7e83868b23962be6be992f"></a><!-- doxytag: member="std::negate::operator()" ref="a3524d6766e7e83868b23962be6be992f" args="(const _Tp &__x) const " --> _Tp <b>operator()</b> (const _Tp &__x) const </ul> <hr/><a name="details" id="details"></a><h2>Detailed Description</h2> <div class="textblock"><h3>template<typename _Tp><br/> struct std::negate< _Tp ></h3> <p>One of the <a class="el" href="a01194.html">math functors</a>. </p> <p>Definition at line <a class="el" href="a01050_source.html#l00186">186</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="a6e96c92b2592035c938f85ab1da1c876"></a><!-- doxytag: member="std::negate::argument_type" ref="a6e96c92b2592035c938f85ab1da1c876" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef _Tp <a class="el" href="a00723.html">std::unary_function</a>< _Tp , _Tp >::<a class="el" href="a00723.html#a6e96c92b2592035c938f85ab1da1c876">argument_type</a><code> [inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p><code>argument_type</code> is the type of the argument </p> <p>Definition at line <a class="el" href="a01050_source.html#l00105">105</a> of file <a class="el" href="a01050_source.html">stl_function.h</a>.</p> </div> </div> <a class="anchor" id="a70d48de710aa15c5e811cbcf6c8bdd61"></a><!-- doxytag: member="std::negate::result_type" ref="a70d48de710aa15c5e811cbcf6c8bdd61" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef _Tp <a class="el" href="a00723.html">std::unary_function</a>< _Tp , _Tp >::<a class="el" href="a00723.html#a70d48de710aa15c5e811cbcf6c8bdd61">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#l00108">108</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="a00614.html">negate</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>