]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/preprocessor/doc/ref/seq_enum.html
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / preprocessor / doc / ref / seq_enum.html
1 <html>
2 <head>
3 <title>BOOST_PP_SEQ_ENUM</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_ENUM</b> macro enumerates the elements in a <i>seq</i>.
9 </div>
10 <h4>
11 Usage
12 </h4>
13 <div class="code">
14 <b>BOOST_PP_SEQ_ENUM</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> from whose elements are to be enumerated.
23 </dd>
24 </dl>
25 <h4>
26 Remarks
27 </h4>
28 <div>
29 This macro expands to a comma-separated list of the elements in <i>seq</i>.&nbsp;
30 For example, <b>BOOST_PP_SEQ_ENUM</b>((<i>x</i>)(<i>y</i>)(<i>z</i>)) expands
31 to...
32 <div>
33 <i>x</i>, <i>y</i>, <i>z</i>
34 </div>
35 </div>
36 <h4>
37 Requirements
38 </h4>
39 <div>
40 <b>Header:</b> &nbsp;<a href="../headers/seq/enum.html">&lt;boost/preprocessor/seq/enum.hpp&gt;</a>
41 </div>
42 <h4>
43 Sample Code
44 </h4>
45 <div>
46 <pre>
47 #include &lt;<a href="../headers/seq/enum.html">boost/preprocessor/seq/enum.hpp</a>&gt;
48
49 #define SEQ (B)(O)(O)(S)(T)
50
51 <a href="seq_enum.html">BOOST_PP_SEQ_ENUM</a>(SEQ) // expands to B, O, O, S, T
52 </pre>
53 </div>
54 <hr size="1">
55 <div style="margin-left: 0px;">
56 <i>© Copyright <a href="http://www.housemarque.com" target="_top">Housemarque Oy</a> 2002</i>
57 </br><i>© Copyright Paul Mensonides 2002</i>
58 </div>
59 <div style="margin-left: 0px;">
60 <p><small>Distributed under the Boost Software License, Version 1.0. (See
61 accompanying file <a href="../../../../LICENSE_1_0.txt">LICENSE_1_0.txt</a> or
62 copy at <a href=
63 "http://www.boost.org/LICENSE_1_0.txt">www.boost.org/LICENSE_1_0.txt</a>)</small></p>
64 </div>
65 </body>
66 </html>