The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
<!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" xml:lang="en"
 lang="en" dir="ltr">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <title>
    The &lt;functional&gt; header file    [C++ Reference]
  </title>

  <meta name="generator" content="DokuWiki Release 2009-12-25c &quot;Lemming&quot;" />
<meta name="robots" content="index,follow" />
<meta name="date" content="2009-10-16T10:53:16-0700" />
<meta name="keywords" content="stl,functional,start" />
<link rel="search" type="application/opensearchdescription+xml" href="/wiki/lib/exe/opensearch.php" title="C++ Reference" />
<link rel="start" href="/wiki/" />
<link rel="contents" href="/wiki/stl/functional/start?do=index" title="Index" />
<link rel="alternate" type="application/rss+xml" title="Recent Changes" href="/wiki/feed.php" />
<link rel="alternate" type="application/rss+xml" title="Current Namespace" href="/wiki/feed.php?mode=list&amp;ns=stl:functional" />
<link rel="edit" title="Edit this page" href="/wiki/stl/functional/start?do=edit" />
<link rel="alternate" type="text/html" title="Plain HTML" href="/wiki/_export/xhtml/stl/functional/start" />
<link rel="alternate" type="text/plain" title="Wiki Markup" href="/wiki/_export/raw/stl/functional/start" />
<link rel="canonical" href="http://www.cppreference.com/wiki/stl/functional/start" />
<link rel="stylesheet" media="all" type="text/css" href="/wiki/lib/exe/css.php?s=all&amp;t=custom1&amp;tseed=1272971091" />
<link rel="stylesheet" media="screen" type="text/css" href="/wiki/lib/exe/css.php?t=custom1&amp;tseed=1272971091" />
<link rel="stylesheet" media="print" type="text/css" href="/wiki/lib/exe/css.php?s=print&amp;t=custom1&amp;tseed=1272971091" />
<script type="text/javascript" charset="utf-8" ><!--//--><![CDATA[//><!--
var NS='stl:functional';var JSINFO = {"id":"stl:functional:start","namespace":"stl:functional"};
//--><!]]></script>
<script type="text/javascript" charset="utf-8" src="/wiki/lib/exe/js.php?tseed=1272971091" ></script>

  <link rel="shortcut icon" href="/wiki/lib/tpl/custom1/images/favicon.png" />

  </head>

<body>
<div class="dokuwiki">
  
  <div class="stylehead">

    <div class="header">
      <div class="pagename">
        [[<a href="../../stl/functional/start.html"  title="Backlinks">The &lt;functional&gt; header file</a>]]
      </div>
      <div class="logo">
        <a href="http://www.cppreference.com"  name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[ALT+H]">C++ Reference</a>      </div>

      <div class="clearer"></div>
    </div>

    
    
        <div class="breadcrumbs">
      <span class="bchead">You are here: </span><a href="../../start.html"  title="start">C++ Reference</a> &raquo; <a href="../../stl/start.html"  title="stl:start">C++ Standard Template Library</a> &raquo; <a href="../../stl/functional/start.html"  title="stl:functional:start">The &lt;functional&gt; header file</a>    </div>
    
  </div>

<div class="plugin_translation"><span>Translations of this page<sup><a href="../../localization.html" class="wikilink1" title="localization">?</a></sup>:</span> <ul>  <li><div class="li"><span class="curid"><a href="../../stl/functional/start.html" class="wikilink1" title="stl:functional:start">en</a></span></div></li>  <li><div class="li"><a href="../../br-pt/stl/functional/start.html" class="wikilink2" title="br-pt:stl:functional:start" rel="nofollow">br-pt</a></div></li>  <li><div class="li"><a href="../../cn/stl/functional/start.html" class="wikilink2" title="cn:stl:functional:start" rel="nofollow">cn</a></div></li>  <li><div class="li"><a href="../../cz/stl/functional/start.html" class="wikilink2" title="cz:stl:functional:start" rel="nofollow">cz</a></div></li>  <li><div class="li"><a href="../../de/stl/functional/start.html" class="wikilink2" title="de:stl:functional:start" rel="nofollow">de</a></div></li>  <li><div class="li"><a href="../../es/stl/functional/start.html" class="wikilink2" title="es:stl:functional:start" rel="nofollow">es</a></div></li>  <li><div class="li"><a href="../../fr/stl/functional/start.html" class="wikilink2" title="fr:stl:functional:start" rel="nofollow">fr</a></div></li>  <li><div class="li"><a href="../../it/stl/functional/start.html" class="wikilink2" title="it:stl:functional:start" rel="nofollow">it</a></div></li>  <li><div class="li"><a href="../../jp/stl/functional/start.html" class="wikilink1" title="jp:stl:functional:start">jp</a></div></li>  <li><div class="li"><a href="../../nl/stl/functional/start.html" class="wikilink2" title="nl:stl:functional:start" rel="nofollow">nl</a></div></li>  <li><div class="li"><a href="../../pl/stl/functional/start.html" class="wikilink2" title="pl:stl:functional:start" rel="nofollow">pl</a></div></li>  <li><div class="li"><a href="../../ro/stl/functional/start.html" class="wikilink2" title="ro:stl:functional:start" rel="nofollow">ro</a></div></li>  <li><div class="li"><a href="../../ru/stl/functional/start.html" class="wikilink2" title="ru:stl:functional:start" rel="nofollow">ru</a></div></li>  <li><div class="li"><a href="../../sk/stl/functional/start.html" class="wikilink2" title="sk:stl:functional:start" rel="nofollow">sk</a></div></li>  <li><div class="li"><a href="../../tr/stl/functional/start.html" class="wikilink2" title="tr:stl:functional:start" rel="nofollow">tr</a></div></li>  <li><div class="li"><a href="../../tw/stl/functional/start.html" class="wikilink2" title="tw:stl:functional:start" rel="nofollow">tw</a></div></li></ul></div>
  
  
  <div class="page">

    <script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-2828341-1";
urchinTracker();
</script>
    <!-- wikipage start -->
    


<h2><a name="the_functional_header_file" id="the_functional_header_file">The &lt;functional&gt; header file</a></h2>
<div class="level2">
<table class="inline">
	<tr class="row0">
		<td class="col0"><a href="../../stl/functional/binary_function.html" class="wikilink1" title="stl:functional:binary_function">binary_function</a></td><td class="col1"> </td>
	</tr>
	<tr class="row1">
		<td class="col0"><a href="../../stl/functional/binary_negate.html" class="wikilink1" title="stl:functional:binary_negate">binary_negate</a></td><td class="col1"> </td>
	</tr>
	<tr class="row2">
		<td class="col0"><a href="../../stl/functional/bind1st.html" class="wikilink1" title="stl:functional:bind1st">bind1st</a></td><td class="col1">bind the first argument of the binary function</td>
	</tr>
	<tr class="row3">
		<td class="col0"><a href="../../stl/functional/bind2nd.html" class="wikilink1" title="stl:functional:bind2nd">bind2nd</a></td><td class="col1">bind the second argument of the binary function</td>
	</tr>
	<tr class="row4">
		<td class="col0"><a href="../../stl/functional/binder1st.html" class="wikilink1" title="stl:functional:binder1st">binder1st</a></td><td class="col1"> </td>
	</tr>
	<tr class="row5">
		<td class="col0"><a href="../../stl/functional/binder2nd.html" class="wikilink1" title="stl:functional:binder2nd">binder2nd</a></td><td class="col1"> </td>
	</tr>
	<tr class="row6">
		<td class="col0"><a href="../../stl/functional/const_mem_fun1_ref_t.html" class="wikilink1" title="stl:functional:const_mem_fun1_ref_t">const_mem_fun1_ref_t</a></td><td class="col1"> </td>
	</tr>
	<tr class="row7">
		<td class="col0"><a href="../../stl/functional/const_mem_fun1_t.html" class="wikilink1" title="stl:functional:const_mem_fun1_t">const_mem_fun1_t</a></td><td class="col1"> </td>
	</tr>
	<tr class="row8">
		<td class="col0"><a href="../../stl/functional/const_mem_fun_ref_t.html" class="wikilink1" title="stl:functional:const_mem_fun_ref_t">const_mem_fun_ref_t</a></td><td class="col1"> </td>
	</tr>
	<tr class="row9">
		<td class="col0"><a href="../../stl/functional/const_mem_fun_t.html" class="wikilink1" title="stl:functional:const_mem_fun_t">const_mem_fun_t</a></td><td class="col1"> </td>
	</tr>
	<tr class="row10">
		<td class="col0"><a href="../../stl/functional/divides.html" class="wikilink1" title="stl:functional:divides">divides</a></td><td class="col1"> </td>
	</tr>
	<tr class="row11">
		<td class="col0"><a href="../../stl/functional/equal_to.html" class="wikilink2" title="stl:functional:equal_to" rel="nofollow">equal_to</a></td><td class="col1">whether the first argument is equal to the second argument</td>
	</tr>
	<tr class="row12">
		<td class="col0"><a href="../../stl/functional/greater.html" class="wikilink1" title="stl:functional:greater">greater</a></td><td class="col1">whether the first argument is greater than the second argument</td>
	</tr>
	<tr class="row13">
		<td class="col0"><a href="../../stl/functional/greater_equal.html" class="wikilink1" title="stl:functional:greater_equal">greater_equal</a></td><td class="col1">whether the first argument is greater than or equal to the second argument</td>
	</tr>
	<tr class="row14">
		<td class="col0"><a href="../../stl/functional/less.html" class="wikilink2" title="stl:functional:less" rel="nofollow">less</a></td><td class="col1">whether the first argument is less than the second argument</td>
	</tr>
	<tr class="row15">
		<td class="col0"><a href="../../stl/functional/less_equal.html" class="wikilink2" title="stl:functional:less_equal" rel="nofollow">less_equal</a></td><td class="col1">whether the first argument is less than or equal to the second argument</td>
	</tr>
	<tr class="row16">
		<td class="col0"><a href="../../stl/functional/logical_and.html" class="wikilink2" title="stl:functional:logical_and" rel="nofollow">logical_and</a></td><td class="col1"> </td>
	</tr>
	<tr class="row17">
		<td class="col0"><a href="../../stl/functional/logical_not.html" class="wikilink2" title="stl:functional:logical_not" rel="nofollow">logical_not</a></td><td class="col1"> </td>
	</tr>
	<tr class="row18">
		<td class="col0"><a href="../../stl/functional/logical_or.html" class="wikilink2" title="stl:functional:logical_or" rel="nofollow">logical_or</a></td><td class="col1"> </td>
	</tr>
	<tr class="row19">
		<td class="col0"><a href="../../stl/functional/mem_fun1_ref_t.html" class="wikilink2" title="stl:functional:mem_fun1_ref_t" rel="nofollow">mem_fun1_ref_t</a></td><td class="col1"> </td>
	</tr>
	<tr class="row20">
		<td class="col0"><a href="../../stl/functional/mem_fun1_t.html" class="wikilink2" title="stl:functional:mem_fun1_t" rel="nofollow">mem_fun1_t</a></td><td class="col1"> </td>
	</tr>
	<tr class="row21">
		<td class="col0"><a href="../../stl/functional/mem_fun.html" class="wikilink2" title="stl:functional:mem_fun" rel="nofollow">mem_fun</a></td><td class="col1">construct a functor from a member function(pointer type)</td>
	</tr>
	<tr class="row22">
		<td class="col0"><a href="../../stl/functional/mem_fun_ref.html" class="wikilink2" title="stl:functional:mem_fun_ref" rel="nofollow">mem_fun_ref</a></td><td class="col1">construct a functor from a member function(reference type)</td>
	</tr>
	<tr class="row23">
		<td class="col0"><a href="../../stl/functional/mem_fun_ref_t.html" class="wikilink2" title="stl:functional:mem_fun_ref_t" rel="nofollow">mem_fun_ref_t</a></td><td class="col1"> </td>
	</tr>
	<tr class="row24">
		<td class="col0"><a href="../../stl/functional/mem_fun_t.html" class="wikilink2" title="stl:functional:mem_fun_t" rel="nofollow">mem_fun_t</a></td><td class="col1"> </td>
	</tr>
	<tr class="row25">
		<td class="col0"><a href="../../stl/functional/minus.html" class="wikilink2" title="stl:functional:minus" rel="nofollow">minus</a></td><td class="col1"> </td>
	</tr>
	<tr class="row26">
		<td class="col0"><a href="../../stl/functional/modulus.html" class="wikilink2" title="stl:functional:modulus" rel="nofollow">modulus</a></td><td class="col1"> </td>
	</tr>
	<tr class="row27">
		<td class="col0"><a href="../../stl/functional/multiplies.html" class="wikilink2" title="stl:functional:multiplies" rel="nofollow">multiplies</a></td><td class="col1"> </td>
	</tr>
	<tr class="row28">
		<td class="col0"><a href="../../stl/functional/negate.html" class="wikilink2" title="stl:functional:negate" rel="nofollow">negate</a></td><td class="col1"> </td>
	</tr>
	<tr class="row29">
		<td class="col0"><a href="../../stl/functional/not1.html" class="wikilink2" title="stl:functional:not1" rel="nofollow">not1</a></td><td class="col1">negation of a unary predicate</td>
	</tr>
	<tr class="row30">
		<td class="col0"><a href="../../stl/functional/not2.html" class="wikilink1" title="stl:functional:not2">not2</a></td><td class="col1">negation of a binary predicate</td>
	</tr>
	<tr class="row31">
		<td class="col0"><a href="../../stl/functional/not_equal_to.html" class="wikilink2" title="stl:functional:not_equal_to" rel="nofollow">not_equal_to</a></td><td class="col1"> </td>
	</tr>
	<tr class="row32">
		<td class="col0"><a href="../../stl/functional/plus.html" class="wikilink2" title="stl:functional:plus" rel="nofollow">plus</a></td><td class="col1"> </td>
	</tr>
	<tr class="row33">
		<td class="col0"><a href="../../stl/functional/pointer_to_binary_function.html" class="wikilink2" title="stl:functional:pointer_to_binary_function" rel="nofollow">pointer_to_binary_function</a></td><td class="col1"> </td>
	</tr>
	<tr class="row34">
		<td class="col0"><a href="../../stl/functional/pointer_to_unary_function.html" class="wikilink2" title="stl:functional:pointer_to_unary_function" rel="nofollow">pointer_to_unary_function</a></td><td class="col1"> </td>
	</tr>
	<tr class="row35">
		<td class="col0"><a href="../../stl/functional/ptr_fun.html" class="wikilink2" title="stl:functional:ptr_fun" rel="nofollow">ptr_fun</a></td><td class="col1">construct a functor from a function pointer</td>
	</tr>
	<tr class="row36">
		<td class="col0"><a href="../../stl/functional/unary_function.html" class="wikilink2" title="stl:functional:unary_function" rel="nofollow">unary_function</a></td><td class="col1"> </td>
	</tr>
	<tr class="row37">
		<td class="col0"><a href="../../stl/functional/unary_negate.html" class="wikilink2" title="stl:functional:unary_negate" rel="nofollow">unary_negate</a></td><td class="col1"> </td>
	</tr>
</table>

</div>

    <!-- wikipage stop -->
  </div>

  <div class="clearer">&nbsp;</div>

  
  <div class="stylefoot">

    <div class="meta">
      <div class="user">
              </div>
      <!--
      <div class="doc">
        stl/functional/start.txt &middot; Last modified: 10/16/2009 10:53 by poindexter      </div>
      -->
    </div>

   
    <div class="bar" id="bar__bottom">
      <div class="bar-left" id="bar__bottomleft">
        <a href="../../stl/functional/start.html"  class="action edit" accesskey="e" rel="nofollow">Edit this page</a> &#149;
        <a href="../../stl/functional/start.html"  class="action revisions" accesskey="o" rel="nofollow">Old revisions</a>      </div>
      <div class="bar-right" id="bar__bottomright">
         &#149;
         &#149;
         &#149;
        <a href="../../stl/functional/start.html"  class="action login" rel="nofollow">Login</a> &#149;
        <a href="../../stl/functional/start.html"  class="action index" accesskey="x" rel="nofollow">Index</a> &#149;
        <a href="../../stl/functional/start.html"  class="action recent" accesskey="r" rel="nofollow">Recent changes</a> &#149;
        <a  href="../../feed.php.html" title="Recent changes RSS feed">RSS</a> &#149;
        <a href='http://creativecommons.org/licenses/by/3.0/us/' title='Creative Commons license'>cc</a> &#149;
        <form action="/wiki/" accept-charset="utf-8" class="search" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" class="edit" title="[ALT+F]" /><input type="submit" value="Search" class="button" title="Search" /><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>&nbsp;
      </div>
      <div class="clearer"></div>
    </div>

  </div>

</div>

<div class="no"><img src="/wiki/lib/exe/indexer.php?id=stl%3Afunctional%3Astart&amp;1273193096" width="1" height="1" alt=""  /></div>
</body>
</html>