diff options
Diffstat (limited to 'doc/html/boost/type_erasure/callable.html')
-rw-r--r-- | doc/html/boost/type_erasure/callable.html | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/html/boost/type_erasure/callable.html b/doc/html/boost/type_erasure/callable.html index cabfc32d04..c28ac9b923 100644 --- a/doc/html/boost/type_erasure/callable.html +++ b/doc/html/boost/type_erasure/callable.html @@ -7,7 +7,7 @@ <meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> <link rel="up" href="../../boost_typeerasure/reference.html#header.boost.type_erasure.callable_hpp" title="Header <boost/type_erasure/callable.hpp>"> -<link rel="prev" href="call_idp781375952.html" title="Function call"> +<link rel="prev" href="call_idp763118512.html" title="Function call"> <link rel="next" href="typeid_.html" title="Struct template typeid_"> </head> <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> @@ -21,7 +21,7 @@ </tr></table> <hr> <div class="spirit-nav"> -<a accesskey="p" href="call_idp781375952.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../boost_typeerasure/reference.html#header.boost.type_erasure.callable_hpp"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="typeid_.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> +<a accesskey="p" href="call_idp763118512.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../boost_typeerasure/reference.html#header.boost.type_erasure.callable_hpp"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="typeid_.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> </div> <div class="refentry"> <a name="boost.type_erasure.callable"></a><div class="titlepage"></div> @@ -35,18 +35,18 @@ </span><span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Sig<span class="special">,</span> <span class="keyword">typename</span> F <span class="special">=</span> <a class="link" href="_self.html" title="Struct _self">_self</a><span class="special">></span> <span class="keyword">struct</span> <a class="link" href="callable.html" title="Struct template callable">callable</a> <span class="special">{</span> - <span class="comment">// <a class="link" href="callable.html#idp781413072-bb">public static functions</a></span> - <span class="keyword">static</span> <span class="identifier">R</span> <a class="link" href="callable.html#idp781413632-bb"><span class="identifier">apply</span></a><span class="special">(</span><span class="identifier">F</span> <span class="special">&</span><span class="special">,</span> <span class="identifier">T</span><span class="special">...</span><span class="special">)</span><span class="special">;</span> + <span class="comment">// <a class="link" href="callable.html#idp763155632-bb">public static functions</a></span> + <span class="keyword">static</span> <span class="identifier">R</span> <a class="link" href="callable.html#idp763156192-bb"><span class="identifier">apply</span></a><span class="special">(</span><span class="identifier">F</span> <span class="special">&</span><span class="special">,</span> <span class="identifier">T</span><span class="special">...</span><span class="special">)</span><span class="special">;</span> <span class="special">}</span><span class="special">;</span></pre></div> <div class="refsect1"> -<a name="idp545828576"></a><h2>Description</h2> +<a name="idp564682176"></a><h2>Description</h2> <p>The <a class="link" href="callable.html" title="Struct template callable">callable</a> concept allows an <a class="link" href="any.html" title="Class template any">any</a> to hold function objects. <code class="computeroutput">Sig</code> is interpreted in the same way as for Boost.Function, except that the arguments and return type are allowed to be placeholders. <code class="computeroutput">F</code> must be a <a class="link" href="placeholder.html" title="Struct placeholder">placeholder</a>.</p> <p>Multiple instances of <a class="link" href="callable.html" title="Struct template callable">callable</a> can be used simultaneously. Overload resolution works normally. Note that unlike Boost.Function, <a class="link" href="callable.html" title="Struct template callable">callable</a> does not provide result_type. It does, however, support <code class="computeroutput">boost::result_of</code>. </p> <div class="refsect2"> -<a name="idp545836160"></a><h3> -<a name="idp781413072-bb"></a><code class="computeroutput">callable</code> public static functions</h3> +<a name="idp564689728"></a><h3> +<a name="idp763155632-bb"></a><code class="computeroutput">callable</code> public static functions</h3> <div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"> -<pre class="literallayout"><span class="keyword">static</span> <span class="identifier">R</span> <a name="idp781413632-bb"></a><span class="identifier">apply</span><span class="special">(</span><span class="identifier">F</span> <span class="special">&</span> f<span class="special">,</span> <span class="identifier">T</span><span class="special">...</span> arg<span class="special">)</span><span class="special">;</span></pre> +<pre class="literallayout"><span class="keyword">static</span> <span class="identifier">R</span> <a name="idp763156192-bb"></a><span class="identifier">apply</span><span class="special">(</span><span class="identifier">F</span> <span class="special">&</span> f<span class="special">,</span> <span class="identifier">T</span><span class="special">...</span> arg<span class="special">)</span><span class="special">;</span></pre> <p><code class="computeroutput">R</code> is the result type of <code class="computeroutput">Sig</code> and <code class="computeroutput">T</code> is the argument types of <code class="computeroutput">Sig</code>. </p> </li></ol></div> </div> @@ -62,7 +62,7 @@ </tr></table> <hr> <div class="spirit-nav"> -<a accesskey="p" href="call_idp781375952.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../boost_typeerasure/reference.html#header.boost.type_erasure.callable_hpp"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="typeid_.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> +<a accesskey="p" href="call_idp763118512.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../boost_typeerasure/reference.html#header.boost.type_erasure.callable_hpp"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="typeid_.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> </div> </body> </html> |