3 <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
4 <title>Class template impl_template</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 1. Boost.Log v2">
8 <link rel="up" href="../function.html#idm45554751831248" title="Description">
9 <link rel="prev" href="impl.html" title="Class impl">
10 <link rel="next" href="../make_function.html" title="Function template make_function">
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>
15 <div class="spirit-nav">
16 <a accesskey="p" href="impl.html"><img src="../../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../function.html#idm45554751831248"><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="../make_function.html"><img src="../../../../../../../../doc/src/images/next.png" alt="Next"></a>
18 <div class="refentry">
19 <a name="boost.log.attributes.function.impl_template"></a><div class="titlepage"></div>
20 <div class="refnamediv">
21 <h2><span class="refentrytitle">Class template impl_template</span></h2>
22 <p>boost::log::attributes::function::impl_template — Factory implementation. </p>
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: <<a class="link" href="../../../../attributes.html#header.boost.log.attributes.function_hpp" title="Header <boost/log/attributes/function.hpp>">boost/log/attributes/function.hpp</a>>
29 <span class="comment">// Factory implementation.</span>
30 <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T<span class="special">></span>
31 <span class="keyword">class</span> <a class="link" href="impl_template.html" title="Class template impl_template">impl_template</a> <span class="special">:</span> <span class="keyword">public</span> <span class="identifier">function</span><span class="special"><</span> <span class="identifier">R</span> <span class="special">></span><span class="special">::</span><span class="identifier">impl</span> <span class="special">{</span>
32 <span class="keyword">public</span><span class="special">:</span>
33 <span class="comment">// <a class="link" href="impl_template.html#boost.log.attributes.function.impl_templateconstruct-copy-destruct">construct/copy/destruct</a></span>
34 <span class="keyword">explicit</span> <a class="link" href="impl_template.html#idm45711348701808-bb"><span class="identifier">impl_template</span></a><span class="special">(</span><span class="identifier">T</span> <span class="keyword">const</span> <span class="special">&</span><span class="special">)</span><span class="special">;</span>
36 <span class="comment">// <a class="link" href="impl_template.html#idm45711348704864-bb">public member functions</a></span>
37 <span class="keyword">virtual</span> <a class="link" href="../../attribute_value.html" title="Class attribute_value">attribute_value</a> <a class="link" href="impl_template.html#idm45711348704304-bb"><span class="identifier">get_value</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
38 <span class="special">}</span><span class="special">;</span></pre></div>
39 <div class="refsect1">
40 <a name="idm45554751758944"></a><h2>Description</h2>
41 <div class="refsect2">
42 <a name="idm45554751758528"></a><h3>
43 <a name="boost.log.attributes.function.impl_templateconstruct-copy-destruct"></a><code class="computeroutput">impl_template</code>
45 construct/copy/destruct</h3>
46 <div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem">
47 <pre class="literallayout"><span class="keyword">explicit</span> <a name="idm45711348701808-bb"></a><span class="identifier">impl_template</span><span class="special">(</span><span class="identifier">T</span> <span class="keyword">const</span> <span class="special">&</span> fun<span class="special">)</span><span class="special">;</span></pre>
48 <p>Constructor with the stored delegate initialization </p>
51 <div class="refsect2">
52 <a name="idm45554751749616"></a><h3>
53 <a name="idm45711348704864-bb"></a><code class="computeroutput">impl_template</code> public member functions</h3>
54 <div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem">
55 <pre class="literallayout"><span class="keyword">virtual</span> <a class="link" href="../../attribute_value.html" title="Class attribute_value">attribute_value</a> <a name="idm45711348704304-bb"></a><span class="identifier">get_value</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre>
58 <div class="variablelist"><table border="0" class="variablelist compact">
60 <col align="left" valign="top">
64 <td><p><span class="term">Returns:</span></p></td>
65 <td><p>The actual attribute value. It shall not return empty values (exceptions shall be used to indicate errors). </p></td>
72 <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
73 <td align="left"></td>
74 <td align="right"><div class="copyright-footer">Copyright © 2007-2016 Andrey Semashev<p>
75 Distributed under the Boost Software License, Version 1.0. (See accompanying
76 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>).
81 <div class="spirit-nav">
82 <a accesskey="p" href="impl.html"><img src="../../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../function.html#idm45554751831248"><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="../make_function.html"><img src="../../../../../../../../doc/src/images/next.png" alt="Next"></a>