<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>QuantumLibrary: Bloomberg::quantum::Function&lt; RET(ARGS...)&gt; Class Template Reference</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../navtreedata.js"></script>
<script type="text/javascript" src="../../navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">QuantumLibrary
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('../../',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('d6/dea/classBloomberg_1_1quantum_1_1Function_3_01RET_07ARGS_8_8_8_08_4.html','../../');});
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="../../d3/d8f/classBloomberg_1_1quantum_1_1Function_3_01RET_07ARGS_8_8_8_08_4-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Bloomberg::quantum::Function&lt; RET(ARGS...)&gt; Class Template Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="../../dd/d52/quantum__capture_8h_source.html">quantum_capture.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a129f07bfb5bde60bbed6ea7fa5356680"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/dea/classBloomberg_1_1quantum_1_1Function_3_01RET_07ARGS_8_8_8_08_4.html#a129f07bfb5bde60bbed6ea7fa5356680">Function</a> (RET(*ptr)(ARGS...))</td></tr>
<tr class="separator:a129f07bfb5bde60bbed6ea7fa5356680"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa77c7d797aed45bf6bc33e101f8150ef"><td class="memTemplParams" colspan="2">template&lt;typename FUNCTOR &gt; </td></tr>
<tr class="memitem:aa77c7d797aed45bf6bc33e101f8150ef"><td class="memTemplItemLeft" align="right" valign="top">&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../d6/dea/classBloomberg_1_1quantum_1_1Function_3_01RET_07ARGS_8_8_8_08_4.html#aa77c7d797aed45bf6bc33e101f8150ef">Function</a> (FUNCTOR &amp;&amp;functor)</td></tr>
<tr class="separator:aa77c7d797aed45bf6bc33e101f8150ef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4f6b6e51de5e70a9935388b7415efae4"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/dea/classBloomberg_1_1quantum_1_1Function_3_01RET_07ARGS_8_8_8_08_4.html#a4f6b6e51de5e70a9935388b7415efae4">Function</a> (const <a class="el" href="../../d7/d56/classBloomberg_1_1quantum_1_1Function.html">Function</a>&lt; RET(ARGS...)&gt; &amp;other)</td></tr>
<tr class="separator:a4f6b6e51de5e70a9935388b7415efae4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3d59b74972755521ef53e91663de0459"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/dea/classBloomberg_1_1quantum_1_1Function_3_01RET_07ARGS_8_8_8_08_4.html#a3d59b74972755521ef53e91663de0459">Function</a> (<a class="el" href="../../d7/d56/classBloomberg_1_1quantum_1_1Function.html">Function</a>&lt; RET(ARGS...)&gt; &amp;&amp;other)</td></tr>
<tr class="separator:a3d59b74972755521ef53e91663de0459"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a19b25d9da29ebb83cf108b3865af3066"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d7/d56/classBloomberg_1_1quantum_1_1Function.html">Function</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/dea/classBloomberg_1_1quantum_1_1Function_3_01RET_07ARGS_8_8_8_08_4.html#a19b25d9da29ebb83cf108b3865af3066">operator=</a> (const <a class="el" href="../../d7/d56/classBloomberg_1_1quantum_1_1Function.html">Function</a>&lt; RET(ARGS...)&gt; &amp;other)</td></tr>
<tr class="separator:a19b25d9da29ebb83cf108b3865af3066"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9992255795521fc538ce2ae03a4bd09a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d7/d56/classBloomberg_1_1quantum_1_1Function.html">Function</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/dea/classBloomberg_1_1quantum_1_1Function_3_01RET_07ARGS_8_8_8_08_4.html#a9992255795521fc538ce2ae03a4bd09a">operator=</a> (<a class="el" href="../../d7/d56/classBloomberg_1_1quantum_1_1Function.html">Function</a>&lt; RET(ARGS...)&gt; &amp;&amp;other)</td></tr>
<tr class="separator:a9992255795521fc538ce2ae03a4bd09a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8bc342c2bf6cbab61b7948ce0a49da4a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/dea/classBloomberg_1_1quantum_1_1Function_3_01RET_07ARGS_8_8_8_08_4.html#a8bc342c2bf6cbab61b7948ce0a49da4a">~Function</a> ()</td></tr>
<tr class="separator:a8bc342c2bf6cbab61b7948ce0a49da4a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a79af63e39596ad7cce0420beca0fbc85"><td class="memItemLeft" align="right" valign="top">RET&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/dea/classBloomberg_1_1quantum_1_1Function_3_01RET_07ARGS_8_8_8_08_4.html#a79af63e39596ad7cce0420beca0fbc85">operator()</a> (ARGS...args)</td></tr>
<tr class="separator:a79af63e39596ad7cce0420beca0fbc85"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac134fa3539073fcd2e97f46be244ce00"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/dea/classBloomberg_1_1quantum_1_1Function_3_01RET_07ARGS_8_8_8_08_4.html#ac134fa3539073fcd2e97f46be244ce00">operator bool</a> () const</td></tr>
<tr class="separator:ac134fa3539073fcd2e97f46be244ce00"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a129f07bfb5bde60bbed6ea7fa5356680"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a129f07bfb5bde60bbed6ea7fa5356680">&#9670;&nbsp;</a></span>Function() <span class="overload">[1/4]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename RET , typename ... ARGS&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d7/d56/classBloomberg_1_1quantum_1_1Function.html">Bloomberg::quantum::Function</a>&lt; RET(ARGS...)&gt;::<a class="el" href="../../d7/d56/classBloomberg_1_1quantum_1_1Function.html">Function</a> </td>
          <td>(</td>
          <td class="paramtype">RET(*)(ARGS...)&#160;</td>
          <td class="paramname"><em>ptr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="aa77c7d797aed45bf6bc33e101f8150ef"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa77c7d797aed45bf6bc33e101f8150ef">&#9670;&nbsp;</a></span>Function() <span class="overload">[2/4]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename RET , typename ... ARGS&gt; </div>
<div class="memtemplate">
template&lt;typename FUNCTOR &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d7/d56/classBloomberg_1_1quantum_1_1Function.html">Bloomberg::quantum::Function</a>&lt; RET(ARGS...)&gt;::<a class="el" href="../../d7/d56/classBloomberg_1_1quantum_1_1Function.html">Function</a> </td>
          <td>(</td>
          <td class="paramtype">FUNCTOR &amp;&amp;&#160;</td>
          <td class="paramname"><em>functor</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a4f6b6e51de5e70a9935388b7415efae4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4f6b6e51de5e70a9935388b7415efae4">&#9670;&nbsp;</a></span>Function() <span class="overload">[3/4]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename RET , typename ... ARGS&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d7/d56/classBloomberg_1_1quantum_1_1Function.html">Bloomberg::quantum::Function</a>&lt; RET(ARGS...)&gt;::<a class="el" href="../../d7/d56/classBloomberg_1_1quantum_1_1Function.html">Function</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../d7/d56/classBloomberg_1_1quantum_1_1Function.html">Function</a>&lt; RET(ARGS...)&gt; &amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a3d59b74972755521ef53e91663de0459"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3d59b74972755521ef53e91663de0459">&#9670;&nbsp;</a></span>Function() <span class="overload">[4/4]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename RET , typename ... ARGS&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d7/d56/classBloomberg_1_1quantum_1_1Function.html">Bloomberg::quantum::Function</a>&lt; RET(ARGS...)&gt;::<a class="el" href="../../d7/d56/classBloomberg_1_1quantum_1_1Function.html">Function</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../d7/d56/classBloomberg_1_1quantum_1_1Function.html">Function</a>&lt; RET(ARGS...)&gt; &amp;&amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a8bc342c2bf6cbab61b7948ce0a49da4a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8bc342c2bf6cbab61b7948ce0a49da4a">&#9670;&nbsp;</a></span>~Function()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename RET , typename ... ARGS&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d7/d56/classBloomberg_1_1quantum_1_1Function.html">Bloomberg::quantum::Function</a>&lt; RET(ARGS...)&gt;::~<a class="el" href="../../d7/d56/classBloomberg_1_1quantum_1_1Function.html">Function</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="ac134fa3539073fcd2e97f46be244ce00"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac134fa3539073fcd2e97f46be244ce00">&#9670;&nbsp;</a></span>operator bool()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename RET , typename ... ARGS&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d7/d56/classBloomberg_1_1quantum_1_1Function.html">Bloomberg::quantum::Function</a>&lt; RET(ARGS...)&gt;::operator bool </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a79af63e39596ad7cce0420beca0fbc85"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a79af63e39596ad7cce0420beca0fbc85">&#9670;&nbsp;</a></span>operator()()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename RET , typename ... ARGS&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">RET <a class="el" href="../../d7/d56/classBloomberg_1_1quantum_1_1Function.html">Bloomberg::quantum::Function</a>&lt; RET(ARGS...)&gt;::operator() </td>
          <td>(</td>
          <td class="paramtype">ARGS...&#160;</td>
          <td class="paramname"><em>args</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a19b25d9da29ebb83cf108b3865af3066"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a19b25d9da29ebb83cf108b3865af3066">&#9670;&nbsp;</a></span>operator=() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename RET , typename ... ARGS&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d7/d56/classBloomberg_1_1quantum_1_1Function.html">Function</a>&lt; RET(ARGS...)&gt; &amp; <a class="el" href="../../d7/d56/classBloomberg_1_1quantum_1_1Function.html">Bloomberg::quantum::Function</a>&lt; RET(ARGS...)&gt;::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../d7/d56/classBloomberg_1_1quantum_1_1Function.html">Function</a>&lt; RET(ARGS...)&gt; &amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a9992255795521fc538ce2ae03a4bd09a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9992255795521fc538ce2ae03a4bd09a">&#9670;&nbsp;</a></span>operator=() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename RET , typename ... ARGS&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d7/d56/classBloomberg_1_1quantum_1_1Function.html">Function</a>&lt; RET(ARGS...)&gt; &amp; <a class="el" href="../../d7/d56/classBloomberg_1_1quantum_1_1Function.html">Bloomberg::quantum::Function</a>&lt; RET(ARGS...)&gt;::operator= </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../d7/d56/classBloomberg_1_1quantum_1_1Function.html">Function</a>&lt; RET(ARGS...)&gt; &amp;&amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="../../d6/db9/namespaceBloomberg.html">Bloomberg</a></li><li class="navelem"><a class="el" href="../../dc/d48/namespaceBloomberg_1_1quantum.html">quantum</a></li><li class="navelem"><a class="el" href="../../d6/dea/classBloomberg_1_1quantum_1_1Function_3_01RET_07ARGS_8_8_8_08_4.html">Function&lt; RET(ARGS...)&gt;</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.8.15 </li>
  </ul>
</div>
</body>
</html>
