Imported Upstream version 1.72.0
[platform/upstream/boost.git] / libs / log / doc / html / boost / log / function_reference_wrapper.html
1 <html>
2 <head>
3 <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
4 <title>Struct template function_reference_wrapper</title>
5 <link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
6 <meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
7 <link rel="home" href="../../index.html" title="Chapter&#160;1.&#160;Boost.Log v2">
8 <link rel="up" href="../../utilities.html#header.boost.log.utility.functional.fun_ref_hpp" title="Header &lt;boost/log/utility/functional/fun_ref.hpp&gt;">
9 <link rel="prev" href="ends_with_fun.html" title="Struct ends_with_fun">
10 <link rel="next" href="fun_ref.html" title="Function template fun_ref">
11 </head>
12 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
13 <table cellpadding="2" width="100%"><tr><td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td></tr></table>
14 <hr>
15 <div class="spirit-nav">
16 <a accesskey="p" href="ends_with_fun.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../utilities.html#header.boost.log.utility.functional.fun_ref_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="fun_ref.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
17 </div>
18 <div class="refentry">
19 <a name="boost.log.function_reference_wrapper"></a><div class="titlepage"></div>
20 <div class="refnamediv">
21 <h2><span class="refentrytitle">Struct template function_reference_wrapper</span></h2>
22 <p>boost::log::function_reference_wrapper &#8212; Reference wrapper for function objects. </p>
23 </div>
24 <h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2>
25 <div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../utilities.html#header.boost.log.utility.functional.fun_ref_hpp" title="Header &lt;boost/log/utility/functional/fun_ref.hpp&gt;">boost/log/utility/functional/fun_ref.hpp</a>&gt;
26
27 </span><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> FunT<span class="special">&gt;</span> 
28 <span class="keyword">struct</span> <a class="link" href="function_reference_wrapper.html" title="Struct template function_reference_wrapper">function_reference_wrapper</a> <span class="special">{</span>
29   <span class="comment">// types</span>
30   <span class="keyword">typedef</span> <span class="identifier">FunT</span><span class="special">::</span><span class="identifier">result_type</span> <a name="boost.log.function_reference_wrapper.result_type"></a><span class="identifier">result_type</span><span class="special">;</span>
31
32   <span class="comment">// <a class="link" href="function_reference_wrapper.html#boost.log.function_reference_wrapperconstruct-copy-destruct">construct/copy/destruct</a></span>
33   <span class="keyword">explicit</span> <a class="link" href="function_reference_wrapper.html#idm45711343869728-bb"><span class="identifier">function_reference_wrapper</span></a><span class="special">(</span><span class="identifier">FunT</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
34
35   <span class="comment">// <a class="link" href="function_reference_wrapper.html#idm45711343874512-bb">public member functions</a></span>
36   <span class="identifier">result_type</span> <a class="link" href="function_reference_wrapper.html#idm45711343873952-bb"><span class="keyword">operator</span><span class="special">(</span><span class="special">)</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
37   <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span><span class="special">...</span> ArgsT<span class="special">&gt;</span> <span class="identifier">result_type</span> <a class="link" href="function_reference_wrapper.html#idm45711343872832-bb"><span class="keyword">operator</span><span class="special">(</span><span class="special">)</span></a><span class="special">(</span><span class="identifier">ArgsT</span> <span class="keyword">const</span> <span class="special">&amp;</span><span class="special">...</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
38 <span class="special">}</span><span class="special">;</span></pre></div>
39 <div class="refsect1">
40 <a name="idm45554727197552"></a><h2>Description</h2>
41 <div class="refsect2">
42 <a name="idm45554727197136"></a><h3>
43 <a name="boost.log.function_reference_wrapperconstruct-copy-destruct"></a><code class="computeroutput">function_reference_wrapper</code> 
44         public
45        construct/copy/destruct</h3>
46 <div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><pre class="literallayout"><span class="keyword">explicit</span> <a name="idm45711343869728-bb"></a><span class="identifier">function_reference_wrapper</span><span class="special">(</span><span class="identifier">FunT</span> <span class="special">&amp;</span> fun<span class="special">)</span><span class="special">;</span></pre></li></ol></div>
47 </div>
48 <div class="refsect2">
49 <a name="idm45554727189024"></a><h3>
50 <a name="idm45711343874512-bb"></a><code class="computeroutput">function_reference_wrapper</code> public member functions</h3>
51 <div class="orderedlist"><ol class="orderedlist" type="1">
52 <li class="listitem"><pre class="literallayout"><span class="identifier">result_type</span> <a name="idm45711343873952-bb"></a><span class="keyword">operator</span><span class="special">(</span><span class="special">)</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
53 <li class="listitem"><pre class="literallayout"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span><span class="special">...</span> ArgsT<span class="special">&gt;</span> 
54   <span class="identifier">result_type</span> <a name="idm45711343872832-bb"></a><span class="keyword">operator</span><span class="special">(</span><span class="special">)</span><span class="special">(</span><span class="identifier">ArgsT</span> <span class="keyword">const</span> <span class="special">&amp;</span><span class="special">...</span> args<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
55 </ol></div>
56 </div>
57 </div>
58 </div>
59 <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
60 <td align="left"></td>
61 <td align="right"><div class="copyright-footer">Copyright &#169; 2007-2016 Andrey Semashev<p>
62         Distributed under the Boost Software License, Version 1.0. (See accompanying
63         file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>).
64       </p>
65 </div></td>
66 </tr></table>
67 <hr>
68 <div class="spirit-nav">
69 <a accesskey="p" href="ends_with_fun.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../utilities.html#header.boost.log.utility.functional.fun_ref_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="fun_ref.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
70 </div>
71 </body>
72 </html>