]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/preprocessor/doc/ref/array_data.html
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / libs / preprocessor / doc / ref / array_data.html
1 <html>
2 <head>
3 <title>BOOST_PP_ARRAY_DATA</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_ARRAY_DATA</b> macro extracts the <i>tuple</i> data from an <i>array</i>.
9 </div>
10 <h4>Usage</h4>
11 <div class="code">
12 <b>BOOST_PP_ARRAY_DATA</b>(<i>array</i>)
13 </div>
14 <h4>Arguments</h4>
15 <dl>
16 <dt>array</dt>
17 <dd>
18 An <i>array</i> to be converted to a <i>tuple</i>.
19 </dd>
20 </dl>
21 <h4>Remarks</h4>
22 <div>
23 This macro expands to the data portion of an <i>array</i> which is a <i>tuple</i>.
24 </div>
25 <h4>Requirements</h4>
26 <div>
27 <b>Header:</b> &nbsp;<a href="../headers/array/data.html">&lt;boost/preprocessor/array/data.hpp&gt;</a>
28 </div>
29 <h4>Sample Code</h4>
30 <div><pre>
31 #include &lt;<a href="../headers/array/data.html">boost/preprocessor/array/data.hpp</a>&gt;
32
33 #define ARRAY (3, (x, y, z))
34
35 <a href="array_data.html">BOOST_PP_ARRAY_DATA</a>(ARRAY) // expands to (x, y, z)
36 </pre></div>
37 <hr size="1">
38 <div style="margin-left: 0px;">
39 <i>© Copyright <a href="http://www.housemarque.com" target="_top">Housemarque Oy</a> 2002</i>
40 </br><i>© Copyright Paul Mensonides 2002</i>
41 </div>
42 <div style="margin-left: 0px;">
43 <p><small>Distributed under the Boost Software License, Version 1.0. (See
44 accompanying file <a href="../../../../LICENSE_1_0.txt">LICENSE_1_0.txt</a> or
45 copy at <a href=
46 "http://www.boost.org/LICENSE_1_0.txt">www.boost.org/LICENSE_1_0.txt</a>)</small></p>
47 </div>
48 </body>
49 </html>