]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/function_types/doc/html/boost_functiontypes/reference/synthesis.html
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / function_types / doc / html / boost_functiontypes / reference / synthesis.html
CommitLineData
7c673cae
FG
1<html>
2<head>
3<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
4<title>Class templates for type synthesis</title>
5<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
6<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
7<link rel="home" href="../../index.html" title="Chapter&#160;1.&#160;Boost.FunctionTypes 2.5">
8<link rel="up" href="../reference.html" title="Reference">
9<link rel="prev" href="decomposition.html" title="Class templates for type decomposition">
10<link rel="next" href="tag_types.html" title="Tag Types">
11</head>
12<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
13<table cellpadding="2" width="100%"><tr>
14<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
15<td align="center"><a href="../../../../../../index.html">Home</a></td>
16<td align="center"><a href="../../../../../../libs/libraries.htm">Libraries</a></td>
17<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
18<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
19<td align="center"><a href="../../../../../../more/index.htm">More</a></td>
20</tr></table>
21<hr>
22<div class="spirit-nav">
23<a accesskey="p" href="decomposition.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><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="tag_types.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
24</div>
25<div class="section">
26<div class="titlepage"><div><div><h3 class="title">
27<a name="boost_functiontypes.reference.synthesis"></a><a class="link" href="synthesis.html" title="Class templates for type synthesis">Class templates
28 for type synthesis</a>
29</h3></div></div></div>
30<div class="toc"><dl>
31<dt><span class="section"><a href="synthesis.html#boost_functiontypes.reference.synthesis.function_type">function_type</a></span></dt>
32<dt><span class="section"><a href="synthesis.html#boost_functiontypes.reference.synthesis.function_pointer">function_pointer</a></span></dt>
33<dt><span class="section"><a href="synthesis.html#boost_functiontypes.reference.synthesis.function_reference">function_reference</a></span></dt>
34<dt><span class="section"><a href="synthesis.html#boost_functiontypes.reference.synthesis.member_function_pointer">member_function_pointer</a></span></dt>
35</dl></div>
36<div class="section">
37<div class="titlepage"><div><div><h4 class="title">
38<a name="boost_functiontypes.reference.synthesis.function_type"></a><a class="link" href="synthesis.html#boost_functiontypes.reference.synthesis.function_type" title="function_type">function_type</a>
39</h4></div></div></div>
40<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> <span class="identifier">Types</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Tag</span> <span class="special">=</span> <a class="link" href="tag_types.html#boost_functiontypes.reference.tag_types.null_tag" title="null_tag">null_tag</a><span class="special">&gt;</span>
41<span class="keyword">struct</span> <span class="identifier">function_type</span><span class="special">;</span>
42</pre>
43<p>
44 <span class="bold"><strong>Header</strong></span>
45 </p>
46<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">function_types</span><span class="special">/</span><span class="identifier">function_type</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
47</pre>
48<div class="variablelist">
49<p class="title"><b></b></p>
50<dl>
51<dt><span class="term"><code class="literal">Types</code></span></dt>
52<dd><p>
53 Component types in form of an <a href="../../../../../mpl/index.html" target="_top">MPL</a>
54 - <a href="../../../../../mpl/doc/refmanual/forward-sequence.html" target="_top">Forward
55 Sequence</a> or another callable, builtin type
56 </p></dd>
57<dt><span class="term"><code class="literal">Tag</code></span></dt>
58<dd><p>
59 Further properties
60 </p></dd>
61<dt><span class="term"><code class="literal">function_type&lt;Types,Tag&gt;::type</code></span></dt>
62<dd><p>
63 Synthesized type
64 </p></dd>
65</dl>
66</div>
67<p>
68 Synthesizes a function type from given properties.
69 </p>
70<p>
71 If the template parameters do not describe a valid type, any attempt to
72 access the <code class="literal">type</code> member will result in a compile error.
73 </p>
74</div>
75<div class="section">
76<div class="titlepage"><div><div><h4 class="title">
77<a name="boost_functiontypes.reference.synthesis.function_pointer"></a><a class="link" href="synthesis.html#boost_functiontypes.reference.synthesis.function_pointer" title="function_pointer">function_pointer</a>
78</h4></div></div></div>
79<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> <span class="identifier">Types</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Tag</span> <span class="special">=</span> <a class="link" href="tag_types.html#boost_functiontypes.reference.tag_types.null_tag" title="null_tag">null_tag</a><span class="special">&gt;</span>
80<span class="keyword">struct</span> <span class="identifier">function_pointer</span><span class="special">;</span>
81</pre>
82<p>
83 <span class="bold"><strong>Header</strong></span>
84 </p>
85<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">function_types</span><span class="special">/</span><span class="identifier">function_pointer</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
86</pre>
87<div class="variablelist">
88<p class="title"><b></b></p>
89<dl>
90<dt><span class="term"><code class="literal">Types</code></span></dt>
91<dd><p>
92 Component types in form of an <a href="../../../../../mpl/index.html" target="_top">MPL</a>
93 - <a href="../../../../../mpl/doc/refmanual/forward-sequence.html" target="_top">Forward
94 Sequence</a> or another callable, builtin type
95 </p></dd>
96<dt><span class="term"><code class="literal">Tag</code></span></dt>
97<dd><p>
98 Further properties
99 </p></dd>
100<dt><span class="term"><code class="literal">function_pointer&lt;Types,Tag&gt;::type</code></span></dt>
101<dd><p>
102 Synthesized type
103 </p></dd>
104</dl>
105</div>
106<p>
107 Synthesizes a function pointer type from given properties.
108 </p>
109<p>
110 If the template parameters do not describe a valid type, any attempt to
111 access the <code class="literal">type</code> member will result in a compile error.
112 </p>
113</div>
114<div class="section">
115<div class="titlepage"><div><div><h4 class="title">
116<a name="boost_functiontypes.reference.synthesis.function_reference"></a><a class="link" href="synthesis.html#boost_functiontypes.reference.synthesis.function_reference" title="function_reference">function_reference</a>
117</h4></div></div></div>
118<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> <span class="identifier">Types</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Tag</span> <span class="special">=</span> <a class="link" href="tag_types.html#boost_functiontypes.reference.tag_types.null_tag" title="null_tag">null_tag</a><span class="special">&gt;</span>
119<span class="keyword">struct</span> <span class="identifier">function_reference</span><span class="special">;</span>
120</pre>
121<p>
122 <span class="bold"><strong>Header</strong></span>
123 </p>
124<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">function_types</span><span class="special">/</span><span class="identifier">function_reference</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
125</pre>
126<div class="variablelist">
127<p class="title"><b></b></p>
128<dl>
129<dt><span class="term"><code class="literal">Types</code></span></dt>
130<dd><p>
131 Component types in form of an <a href="../../../../../mpl/index.html" target="_top">MPL</a>
132 - <a href="../../../../../mpl/doc/refmanual/forward-sequence.html" target="_top">Forward
133 Sequence</a> or another callable, builtin type
134 </p></dd>
135<dt><span class="term"><code class="literal">Tag</code></span></dt>
136<dd><p>
137 Further properties
138 </p></dd>
139<dt><span class="term"><code class="literal">function_reference&lt;Types,Tag&gt;::type</code></span></dt>
140<dd><p>
141 Synthesized type
142 </p></dd>
143</dl>
144</div>
145<p>
146 Synthesizes a function reference type from given properties.
147 </p>
148<p>
149 If the template parameters do not describe a valid type, any attempt to
150 access the <code class="literal">type</code> member will result in a compile error.
151 </p>
152</div>
153<div class="section">
154<div class="titlepage"><div><div><h4 class="title">
155<a name="boost_functiontypes.reference.synthesis.member_function_pointer"></a><a class="link" href="synthesis.html#boost_functiontypes.reference.synthesis.member_function_pointer" title="member_function_pointer">member_function_pointer</a>
156</h4></div></div></div>
157<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> <span class="identifier">Types</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Tag</span> <span class="special">=</span> <a class="link" href="tag_types.html#boost_functiontypes.reference.tag_types.null_tag" title="null_tag">null_tag</a><span class="special">&gt;</span>
158<span class="keyword">struct</span> <span class="identifier">member_function_pointer</span><span class="special">;</span>
159</pre>
160<p>
161 <span class="bold"><strong>Header</strong></span>
162 </p>
163<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">function_types</span><span class="special">/</span><span class="identifier">member_function_pointer</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
164</pre>
165<div class="variablelist">
166<p class="title"><b></b></p>
167<dl>
168<dt><span class="term"><code class="literal">Types</code></span></dt>
169<dd><p>
170 Component types in form of an <a href="../../../../../mpl/index.html" target="_top">MPL</a>
171 - <a href="../../../../../mpl/doc/refmanual/forward-sequence.html" target="_top">Forward
172 Sequence</a> or another callable, builtin type
173 </p></dd>
174<dt><span class="term"><code class="literal">Tag</code></span></dt>
175<dd><p>
176 Further properties
177 </p></dd>
178<dt><span class="term"><code class="literal">member_function_pointer&lt;Types,Tag&gt;::type</code></span></dt>
179<dd><p>
180 Synthesized type
181 </p></dd>
182</dl>
183</div>
184<p>
185 Synthesizes a member function pointer type from given properties.
186 </p>
187<p>
188 An optional reference or possibly cv-qualified pointer is removed from
189 the second type in the sequence to determine the the class type. The cv-qualification
190 of the resulting type applies to the member function, unless otherwise
191 explicitly specified by the property tag.
192 </p>
193<p>
194 If the template parameters do not describe a valid type, any attempt to
195 access the <code class="literal">type</code> member will result in a compile error.
196 </p>
197</div>
198</div>
199<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
200<td align="left"></td>
201<td align="right"><div class="copyright-footer">Copyright &#169; 2004-2007 Tobias
202 Schwinger<p>
203 Distributed under the Boost Software License, Version 1.0. (See accompanying
204 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>)
205 </p>
206</div></td>
207</tr></table>
208<hr>
209<div class="spirit-nav">
210<a accesskey="p" href="decomposition.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><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="tag_types.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
211</div>
212</body>
213</html>