]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/preprocessor/doc/ref/seq_to_array.html
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / preprocessor / doc / ref / seq_to_array.html
CommitLineData
7c673cae
FG
1<html>
2 <head>
3 <title>BOOST_PP_SEQ_TO_ARRAY</title>
4 <link rel="stylesheet" type="text/css" href="../styles.css">
5 </head>
6 <body>
7 <div style="margin-left: 0px;">
8 The <b>BOOST_PP_SEQ_TO_ARRAY</b> macro converts a <i>seq</i> to an <i>array</i>.
9 </div>
10 <h4>
11 Usage
12 </h4>
13 <div class="code">
14 <b>BOOST_PP_SEQ_TO_ARRAY</b>(<i>seq</i>)
15 </div>
16 <h4>
17 Arguments
18 </h4>
19 <dl>
20 <dt>seq</dt>
21 <dd>
22 The <i>seq</i> to be converted.
23 </dd>
24 </dl>
25 <h4>
26 Requirements
27 </h4>
28 <div>
29 <b>Header:</b> &nbsp;<a href="../headers/seq/to_array.html">&lt;boost/preprocessor/seq/to_array.hpp&gt;</a>
30 </div>
31 <h4>
32 Sample Code
33 </h4>
34 <div>
35 <pre>
36#include &lt;<a href="../headers/seq/to_array.html">boost/preprocessor/seq/to_array.hpp</a>&gt;
37
38#define SEQ (a)(b)(c)
39
40<a href="seq_to_array.html">BOOST_PP_SEQ_TO_ARRAY</a>(SEQ) // expands to (3, (a, b, c))
41</pre>
42 </div>
43 <hr size="1">
44 <div style="margin-left: 0px;">
45