<!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::pointer_to_unary_function< _Arg, _Result > Class 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('a00659.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> </div> <div class="headertitle"> <div class="title">std::pointer_to_unary_function< _Arg, _Result > Class Template Reference<div class="ingroups"><a class="el" href="a01198.html">Adaptors for pointers to functions</a></div></div> </div> </div> <div class="contents"> <!-- doxytag: class="std::pointer_to_unary_function" --><!-- doxytag: inherits="std::unary_function" --> <p>One of the <a class="el" href="a01198.html">adaptors for function pointers</a>. <a href="a00659.html#details">More...</a></p> <div class="dynheader"> Inheritance diagram for std::pointer_to_unary_function< _Arg, _Result >:</div> <div class="dyncontent"> <div class="center"><img src="a02320.png" border="0" usemap="#std_1_1pointer__to__unary__function_3_01___arg_00_01___result_01_4_inherit__map" alt="Inheritance graph"/></div> <map name="std_1_1pointer__to__unary__function_3_01___arg_00_01___result_01_4_inherit__map" id="std_1_1pointer__to__unary__function_3_01___arg_00_01___result_01_4_inherit__map"> <area shape="rect" id="node2" href="a00723.html" title="std::unary_function\< _Arg, _Result \>" alt="" coords="36,5,255,35"/></map> <center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div> <p><a href="a02321.html">List of all members.</a></p> <h2><a name="pub-types"></a> Public Types</h2> <ul> <li>typedef _Arg <a class="el" href="a00723.html#a6e96c92b2592035c938f85ab1da1c876">argument_type</a> <li>typedef _Result <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="ace2c8c5f9f3e5acec5ae6e2475df6fde"></a><!-- doxytag: member="std::pointer_to_unary_function::pointer_to_unary_function" ref="ace2c8c5f9f3e5acec5ae6e2475df6fde" args="(_Result(*__x)(_Arg))" --> <b>pointer_to_unary_function</b> (_Result(*__x)(_Arg)) <li><a class="anchor" id="ac3eac5711cca0f0245fece8ff99b4773"></a><!-- doxytag: member="std::pointer_to_unary_function::operator()" ref="ac3eac5711cca0f0245fece8ff99b4773" args="(_Arg __x) const " --> _Result <b>operator()</b> (_Arg __x) const </ul> <h2><a name="pro-attribs"></a> Protected Attributes</h2> <ul> <li><a class="anchor" id="a614ca05bbf425eb7e1cf0f93e0cb25ea"></a><!-- doxytag: member="std::pointer_to_unary_function::_M_ptr" ref="a614ca05bbf425eb7e1cf0f93e0cb25ea" args=")(_Arg)" --> _Result(* <b>_M_ptr</b> )(_Arg) </ul> <hr/><a name="details" id="details"></a><h2>Detailed Description</h2> <div class="textblock"><h3>template<typename _Arg, typename _Result><br/> class std::pointer_to_unary_function< _Arg, _Result ></h3> <p>One of the <a class="el" href="a01198.html">adaptors for function pointers</a>. </p> <p>Definition at line <a class="el" href="a01050_source.html#l00423">423</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::pointer_to_unary_function::argument_type" ref="a6e96c92b2592035c938f85ab1da1c876" args="" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename _Arg, typename _Result> </div> <table class="memname"> <tr> <td class="memname">typedef _Arg <a class="el" href="a00723.html">std::unary_function</a>< _Arg, _Result >::<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::pointer_to_unary_function::result_type" ref="a70d48de710aa15c5e811cbcf6c8bdd61" args="" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename _Arg, typename _Result> </div> <table class="memname"> <tr> <td class="memname">typedef _Result <a class="el" href="a00723.html">std::unary_function</a>< _Arg, _Result >::<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 class 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="a00659.html">pointer_to_unary_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.7.4 </li> </ul> </div> </body> </html>