• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<html>
2<head>
3<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
4<title>all</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. Fusion 2.2">
8<link rel="up" href="../metafunctions.html" title="Metafunctions">
9<link rel="prev" href="any.html" title="any">
10<link rel="next" href="none.html" title="none">
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="any.html"><img src="../../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../metafunctions.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="none.html"><img src="../../../../../../../../doc/src/images/next.png" alt="Next"></a>
24</div>
25<div class="section">
26<div class="titlepage"><div><div><h5 class="title">
27<a name="fusion.algorithm.query.metafunctions.all"></a><a class="link" href="all.html" title="all">all</a>
28</h5></div></div></div>
29<h6>
30<a name="fusion.algorithm.query.metafunctions.all.h0"></a>
31            <span class="phrase"><a name="fusion.algorithm.query.metafunctions.all.description"></a></span><a class="link" href="all.html#fusion.algorithm.query.metafunctions.all.description">Description</a>
32          </h6>
33<p>
34            A metafunction returning the result type of <a class="link" href="../functions/all.html" title="all"><code class="computeroutput"><span class="identifier">all</span></code></a>.
35          </p>
36<h6>
37<a name="fusion.algorithm.query.metafunctions.all.h1"></a>
38            <span class="phrase"><a name="fusion.algorithm.query.metafunctions.all.synopsis"></a></span><a class="link" href="all.html#fusion.algorithm.query.metafunctions.all.synopsis">Synopsis</a>
39          </h6>
40<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
41    <span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">,</span>
42    <span class="keyword">typename</span> <span class="identifier">F</span>
43    <span class="special">&gt;</span>
44<span class="keyword">struct</span> <span class="identifier">all</span>
45<span class="special">{</span>
46    <span class="keyword">typedef</span> <span class="keyword">bool</span> <span class="identifier">type</span><span class="special">;</span>
47<span class="special">};</span>
48</pre>
49<div class="table">
50<a name="fusion.algorithm.query.metafunctions.all.t0"></a><p class="title"><b>Table 1.60. Parameters</b></p>
51<div class="table-contents"><table class="table" summary="Parameters">
52<colgroup>
53<col>
54<col>
55<col>
56</colgroup>
57<thead><tr>
58<th>
59                    <p>
60                      Parameter
61                    </p>
62                  </th>
63<th>
64                    <p>
65                      Requirement
66                    </p>
67                  </th>
68<th>
69                    <p>
70                      Description
71                    </p>
72                  </th>
73</tr></thead>
74<tbody>
75<tr>
76<td>
77                    <p>
78                      <code class="computeroutput"><span class="identifier">Sequence</span></code>
79                    </p>
80                  </td>
81<td>
82                    <p>
83                      A model of <a class="link" href="../../../sequence/concepts/forward_sequence.html" title="Forward Sequence">Forward
84                      Sequence</a>
85                    </p>
86                  </td>
87<td>
88                    <p>
89                      Operation's argument
90                    </p>
91                  </td>
92</tr>
93<tr>
94<td>
95                    <p>
96                      <code class="computeroutput"><span class="identifier">F</span></code>
97                    </p>
98                  </td>
99<td>
100                    <p>
101                      A model of unary <a class="link" href="../../../functional/concepts/poly.html" title="Polymorphic Function Object">Polymorphic
102                      Function Object</a>
103                    </p>
104                  </td>
105<td>
106                    <p>
107                      Operation's argument
108                    </p>
109                  </td>
110</tr>
111</tbody>
112</table></div>
113</div>
114<br class="table-break"><h6>
115<a name="fusion.algorithm.query.metafunctions.all.h2"></a>
116            <span class="phrase"><a name="fusion.algorithm.query.metafunctions.all.expression_semantics"></a></span><a class="link" href="all.html#fusion.algorithm.query.metafunctions.all.expression_semantics">Expression
117            Semantics</a>
118          </h6>
119<pre class="programlisting"><a class="link" href="all.html" title="all"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">all</span></code></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">,</span> <span class="identifier">F</span><span class="special">&gt;::</span><span class="identifier">type</span>
120</pre>
121<p>
122            <span class="bold"><strong>Return type</strong></span>: <code class="computeroutput"><span class="keyword">bool</span></code>.
123          </p>
124<p>
125            <span class="bold"><strong>Semantics</strong></span>: Returns the return type of
126            <a class="link" href="../functions/all.html" title="all"><code class="computeroutput"><span class="identifier">all</span></code></a>
127            given a sequence of type <code class="computeroutput"><span class="identifier">Sequence</span></code>
128            and a unary <a class="link" href="../../../functional/concepts/poly.html" title="Polymorphic Function Object">Polymorphic
129            Function Object</a> of type <code class="computeroutput"><span class="identifier">F</span></code>.
130            The return type is always <code class="computeroutput"><span class="keyword">bool</span></code>.
131          </p>
132<h6>
133<a name="fusion.algorithm.query.metafunctions.all.h3"></a>
134            <span class="phrase"><a name="fusion.algorithm.query.metafunctions.all.complexity"></a></span><a class="link" href="all.html#fusion.algorithm.query.metafunctions.all.complexity">Complexity</a>
135          </h6>
136<p>
137            Constant.
138          </p>
139<h6>
140<a name="fusion.algorithm.query.metafunctions.all.h4"></a>
141            <span class="phrase"><a name="fusion.algorithm.query.metafunctions.all.header"></a></span><a class="link" href="all.html#fusion.algorithm.query.metafunctions.all.header">Header</a>
142          </h6>
143<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">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">query</span><span class="special">/</span><span class="identifier">all</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
144<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">all</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
145</pre>
146</div>
147<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
148<td align="left"></td>
149<td align="right"><div class="copyright-footer">Copyright © 2001-2006, 2011, 2012 Joel de Guzman,
150      Dan Marsden, Tobias Schwinger<p>
151        Distributed under the Boost Software License, Version 1.0. (See accompanying
152        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>)
153      </p>
154</div></td>
155</tr></table>
156<hr>
157<div class="spirit-nav">
158<a accesskey="p" href="any.html"><img src="../../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../metafunctions.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="none.html"><img src="../../../../../../../../doc/src/images/next.png" alt="Next"></a>
159</div>
160</body>
161</html>
162